DVLocalAuthProvider class
Development and test auth adapter.
E-mail/password credentials are stored salted and hashed and are really verified. Everything lives in memory with no recovery, verification or session expiry, so this must not be mistaken for production authentication.
- Implemented types
Constructors
- DVLocalAuthProvider({DVPasswordHasher? hasher})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void - Removes every registered account. Intended for test teardown.
-
signInAnonymously(
) → Future< DVAuthUser> -
override
-
signInWithBiometrics(
) → Future< DVAuthUser> -
override
-
signInWithEmailAndPassword(
{required String email, required String password}) → Future< DVAuthUser> -
override
-
signInWithPasskey(
) → Future< DVAuthUser> -
override
-
signInWithProvider(
String provider) → Future< DVAuthUser> -
override
-
signInWithRawOAuth(
Map< String, Object?> oauth) → Future<DVAuthUser> -
override
-
signInWithWeb3(
) → Future< DVAuthUser> -
override
-
signOut(
) → Future< void> -
override
-
signUp(
{String? email, String? password, Map< String, Object?> metadata = const <String, Object?>{}}) → Future<DVAuthUser> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- minimumPasswordLength → const int