FirebaseAuthFacade class
Methods
-
call({required dynamic callbackUrl, dynamic githubClientId = '', dynamic githubSecret = '', dynamic appleClientId = ''})
→ void
-
-
getSignedInUser()
→ User?
-
get the current signed in user,
return null if unauthenticated
override
-
isAnonymous()
→ bool
-
Checking if user is anonym or not
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
registerWithEmailAndPassword({required String email, required String password})
→ Future<Either<AuthFailure, Unit>>
-
Register with Email and password
return Future<Either<AuthFailure, Unit>>
override
-
resetPassword({required String email})
→ Future<void>
-
Send an email to reset the password
override
-
signedOut()
→ Future<void>
-
Login out
override
-
signInWithAnon()
→ Future<Either<AuthFailure, Unit>>
-
Sign in as anonymous
return Future<Either<AuthFailure, Unit>>
override
-
signInWithApple()
→ Future<Either<AuthFailure, Unit>>
-
Sign in with Apple
return Future<Either<AuthFailure, Unit>>
override
-
signInWithEmailAndPassword({required String email, required String password})
→ Future<Either<AuthFailure, Unit>>
-
Sign in with user and password
return Future<Either<AuthFailure, Unit>>
override
-
signInWithGitHub()
→ Future<Either<AuthFailure, Unit>>
-
Sign in with GitHub
return Future<Either<AuthFailure, Unit>>
override
-
signInWithGoogle()
→ Future<Either<AuthFailure, Unit>>
-
Sign in with google
return Future<Either<AuthFailure, Unit>>
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
userState()
→ Stream<User?>
-
/ Stream of the user current state
override