AuthHandler class abstract

Implementers

Constructors

AuthHandler(AuthRepository repository)
const

Properties

delete Future<Response<Object>>
no setter
hashCode int
The hash code for this object.
no setterinherited
repository AuthRepository
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user → User?
no setter

Methods

isSignIn([AuthProviders? provider]) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signInByPhone({String? phoneNumber, int? forceResendingToken, PhoneMultiFactorInfo? multiFactorInfo, MultiFactorSession? multiFactorSession, Duration timeout = const Duration(seconds: 30), required void onComplete(PhoneAuthCredential credential), required void onFailed(FirebaseAuthException exception), required void onCodeSent(String verId, int? forceResendingToken), required void onCodeAutoRetrievalTimeout(String verId)}) Future<Response<void>>
signInWithApple() Future<Response<Credential>>
signInWithBiometric({BiometricConfig? config}) Future<Response<bool>>
signInWithCredential({required AuthCredential credential}) Future<Response<UserCredential>>
signInWithEmailNPassword({required String email, required String password}) Future<Response<UserCredential>>
signInWithFacebook() Future<Response<Credential>>
signInWithGithub() Future<Response<Credential>>
signInWithGoogle() Future<Response<Credential>>
signInWithUsernameNPassword({required String username, required String password}) Future<Response<UserCredential>>
signOut([AuthProviders? provider]) Future<Response<Auth<AuthKeys>>>
signUpWithEmailNPassword({required String email, required String password}) Future<Response<UserCredential>>
signUpWithUsernameNPassword({required String username, required String password}) Future<Response<UserCredential>>
toString() String
A string representation of this object.
inherited

Operators

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