AuthControllerImpl<T extends Auth<AuthKeys>> class

Inheritance

Constructors

AuthControllerImpl({OAuthDelegates? auth, BackupDelegate<T>? backup, AuthMessages? messages})
AuthControllerImpl.fromHandler({required AuthHandler authHandler, BackupHandler<T>? backupHandler, AuthMessages? messages})
AuthControllerImpl.fromSource({required AuthDataSource auth, AuthorizedDataSource<T>? backup, AuthMessages? messages})

Properties

auth Future<T?>
no setteroverride
authHandler AuthHandler
final
backupHandler BackupHandler<T>
final
error String
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isBiometricEnabled Future<bool>
no setteroverride
isLoggedIn Future<bool>
no setteroverride
liveError → AuthNotifier<String>
no setteroverride
liveLoading → AuthNotifier<bool>
no setteroverride
liveMessage → AuthNotifier<String>
no setteroverride
liveState → AuthNotifier<AuthState>
no setteroverride
liveUser → AuthNotifier<T?>
no setteroverride
loading bool
no setteroverride
message String
no setteroverride
msg AuthMessages
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state AuthState
no setteroverride
user → T?
no setteroverride

Methods

addBiometric({required SignByBiometricCallback callback, BiometricConfig? config}) Future<Response<bool>>
override
biometricEnable(bool enabled) Future<Response<bool>>
override
delete() Future<AuthResponse<T>>
override
dispose() → void
override
emit(AuthResponse<T> data) Future<AuthResponse<T>>
override
initialize([bool initialCheck = true]) Future<T?>
override
isSignIn([AuthProviders? provider]) Future<AuthResponse<T>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signInByApple({OAuthAuthenticator? authenticator, bool storeToken = false}) Future<AuthResponse<T>>
override
signInByBiometric({BiometricConfig? config}) Future<AuthResponse<T>>
override
signInByEmail(EmailAuthenticator authenticator, {SignByBiometricCallback? onBiometric}) Future<AuthResponse<T>>
override
signInByFacebook({OAuthAuthenticator? authenticator, bool storeToken = false}) Future<AuthResponse<T>>
override
signInByGithub({OAuthAuthenticator? authenticator, bool storeToken = false}) Future<AuthResponse<T>>
override
signInByGoogle({OAuthAuthenticator? authenticator, bool storeToken = false}) Future<AuthResponse<T>>
override
signInByOtp(OtpAuthenticator authenticator, {bool storeToken = false}) Future<AuthResponse<T>>
override
signInByPhone(PhoneAuthenticator authenticator, {PhoneMultiFactorInfo? multiFactorInfo, MultiFactorSession? multiFactorSession, Duration timeout = const Duration(minutes: 2), void onComplete(PhoneAuthCredential credential)?, void onFailed(FirebaseAuthException exception)?, void onCodeSent(String verId, int? forceResendingToken)?, void onCodeAutoRetrievalTimeout(String verId)?}) Future<AuthResponse<T>>
override
signInByUsername(UsernameAuthenticator authenticator, {SignByBiometricCallback? onBiometric}) Future<AuthResponse<T>>
override
signOut([AuthProviders provider = AuthProviders.none]) Future<AuthResponse<T>>
override
signUpByEmail(EmailAuthenticator authenticator, {SignByBiometricCallback? onBiometric}) Future<AuthResponse<T>>
override
signUpByUsername(UsernameAuthenticator authenticator, {SignByBiometricCallback? onBiometric}) Future<AuthResponse<T>>
override
toString() String
A string representation of this object.
inherited
update(Map<String, dynamic> data) Future<T?>
override
verifyPhoneByOtp(OtpAuthenticator authenticator) Future<AuthResponse<Auth<AuthKeys>>>
override

Operators

operator ==(Object other) bool
The equality operator.
inherited