FirebaseAuthDart class

Inheritance

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
presenter UrlPresenter
Used by the phone verification flow to allow opening of a browser window in a platform specific way, that presents a reCaptcha challenge. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

confirmPasswordReset(String app, String oobCode, String newPassword) Future<void>
Completes the password reset process, given a confirmation code and new password.
override
createUserWithEmailAndPassword(String app, String email, String password) Future<PlatformAuthResult>
Create a user with the given email and password.
override
delete(String app) Future<void>
Delete the current user and logs them out.
override
fetchSignInMethodsForEmail(String app, String email) Future<List<String>>
Retrieve a list of available sign in methods for the given email.
override
getCurrentUser(String app) Future<PlatformUser>
Returns the current user.
override
getIdToken(String app, bool refresh) Future<PlatformIdTokenResult>
Returns a token used to identify the user to a Firebase service.
override
Completes to true if the given link is an email sign-in link.
override
linkWithCredential(String app, AuthCredential credential) Future<PlatformAuthResult>
Links the current user with the given credential.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onAuthStateChanged(String app) Stream<PlatformUser>
Creates a new stream which emits the current user on signOut and signIn.
override
reauthenticateWithCredential(String app, AuthCredential credential) Future<PlatformAuthResult>
Re-authenticates the current user with the given credential.
override
reload(String app) Future<void>
Refreshes the current user, if signed in.
override
sendEmailVerification(String app) Future<void>
Sends an email verification to the current user.
override
sendLinkToEmail(String app, {String email, String url, bool handleCodeInApp, String iOSBundleID, String androidPackageName, bool androidInstallIfNotAvailable, String androidMinimumVersion}) Future<void>
Sends a sign in with email link to provided email address.
override
sendPasswordResetEmail(String app, String email, [ActionCodeSettings settings]) Future<void>
Sends a password reset email to the given email.
override
setLanguageCode(String app, String language) Future<void>
Sets the current language code.
override
signInAnonymously(String app) Future<PlatformAuthResult>
Sign in anonymously and return the auth result.
override
signInWithCredential(String app, AuthCredential credential) Future<PlatformAuthResult>
Signs in with the given credential.
override
signInWithCustomToken(String app, String token) Future<PlatformAuthResult>
Signs in the with the given custom token.
override
Signs in with the given email and link.
override
signOut(String app) Future<void>
Signs the current user out of the app.
override
toString() String
Returns a string representation of this object.
inherited
unlinkFromProvider(String app, String provider) Future<void>
Unlinks the current user with the given provider.
override
updateEmail(String app, String email) Future<void>
Updates the current user's email to the given email.
override
updatePassword(String app, String password) Future<void>
Update the current user's password to the given password.
override
updatePhoneNumberCredential(String app, PhoneAuthCredential phoneAuthCredential) Future<void>
Update the current user's phone number with the given phoneAuthCredential.
override
updateProfile(String app, {String displayName, String photoUrl}) Future<void>
Update the current user's profile.
override
verifyPhoneNumber(String app, {String phoneNumber, Duration timeout, int forceResendingToken, PhoneVerificationCompleted verificationCompleted, PhoneVerificationFailed verificationFailed, PhoneCodeSent codeSent, PhoneCodeAutoRetrievalTimeout codeAutoRetrievalTimeout}) Future<void>
Verify the current user's phone number.
override

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

register({UrlPresenter presenter}) Future<void>
Registers this implementation as default implementation for FirebaseAuth [...]