FirebaseAuth class

Properties

onAuthStateChanged → Stream<FirebaseUser>
Receive FirebaseUser each time the user signIn or signOut
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

createUserWithEmailAndPassword({String email, String password }) → Future<FirebaseUser>
currentUser() → Future<FirebaseUser>
Asynchronously gets current user, or null if there is none.
linkWithEmailAndPassword({String email, String password }) → Future<FirebaseUser>
Links email account with current user and returns Future<FirebaseUser> basically current user with additional email information [...]
linkWithGoogleCredential({String idToken, String accessToken }) → Future<FirebaseUser>
Links google account with current user and returns Future<FirebaseUser> [...]
sendPasswordResetEmail({String email }) → Future<void>
signInAnonymously() → Future<FirebaseUser>
Asynchronously creates and becomes an anonymous user. [...]
signInWithCustomToken({String token }) → Future<FirebaseUser>
signInWithEmailAndPassword({String email, String password }) → Future<FirebaseUser>
signInWithFacebook({String accessToken }) → Future<FirebaseUser>
signInWithGoogle({String idToken, String accessToken }) → Future<FirebaseUser>
signOut() → Future<void>
updateProfile(UserUpdateInfo userUpdateInfo) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Properties

instance FirebaseAuth
Provides an instance of this class corresponding to the default app. [...]
read / write

Constants

channel → const MethodChannel
@visibleForTesting
const MethodChannel('plugins.flutter.io/firebase_auth')