FirebaseAuthService class

Constructors

FirebaseAuthService.new({required FirebaseAuth auth, required GoogleSignIn googleSignIn})

Properties

authStateChanges BehaviorSubject<AuthUser?>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future<void>
getFirebaseIdToken() Future<String?>
init() Future<void>
isAppleSignInAvailable() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signInWithApple({List<AppleIDAuthorizationScopes> scopes = const <AppleIDAuthorizationScopes>[AppleIDAuthorizationScopes.email, AppleIDAuthorizationScopes.fullName]}) Future<UserCredential>
signInWithGoogle({List<String> scopes = const <String>['email', 'profile']}) Future<UserCredential>
signOut() Future<void>
toString() String
A string representation of this object.
inherited
updateSubscriptionListener(BehaviorSubject<bool>? subStateChanges) Future<void>
Add auth listener to update user id on login/logout

Operators

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