AuthController<T extends Auth<AuthKeys>> class
abstract
Methods
-
addBiometric({required SignByBiometricCallback callback, BiometricConfig? config})
→ Future<Response<bool>>
-
-
biometricEnable(bool enabled)
→ Future<Response<bool>>
-
-
delete()
→ Future<AuthResponse<T>>
-
-
dispose()
→ void
-
-
emit(AuthResponse<T> data)
→ Future<AuthResponse<T>>
-
-
initialize([bool initialCheck = true])
→ Future<T?>
-
-
isSignIn([AuthProviders? provider])
→ Future<AuthResponse<T>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
signInByApple({OAuthAuthenticator? authenticator, bool storeToken = false})
→ Future<AuthResponse<T>>
-
-
signInByBiometric({BiometricConfig? config})
→ Future<AuthResponse<T>>
-
-
signInByEmail(EmailAuthenticator authenticator, {SignByBiometricCallback? onBiometric})
→ Future<AuthResponse<T>>
-
-
signInByFacebook({OAuthAuthenticator? authenticator, bool storeToken = false})
→ Future<AuthResponse<T>>
-
-
signInByGithub({OAuthAuthenticator? authenticator, bool storeToken = false})
→ Future<AuthResponse<T>>
-
-
signInByGoogle({OAuthAuthenticator? authenticator, bool storeToken = false})
→ Future<AuthResponse<T>>
-
-
signInByOtp(OtpAuthenticator authenticator, {bool storeToken = false})
→ Future<AuthResponse<T>>
-
-
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>>
-
-
signInByUsername(UsernameAuthenticator authenticator, {SignByBiometricCallback? onBiometric})
→ Future<AuthResponse<T>>
-
-
signOut([AuthProviders provider = AuthProviders.none])
→ Future<AuthResponse<T>>
-
-
signUpByEmail(EmailAuthenticator authenticator, {SignByBiometricCallback? onBiometric})
→ Future<AuthResponse<T>>
-
-
signUpByUsername(UsernameAuthenticator authenticator, {SignByBiometricCallback? onBiometric})
→ Future<AuthResponse<T>>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(Map<String, dynamic> data)
→ Future<T?>
-
-
verifyPhoneByOtp(OtpAuthenticator authenticator)
→ Future<AuthResponse<Auth<AuthKeys>>>
-