firebase_authentication library

Classes

AuthenticationRepository
Repository which manages user authentication.
AuthUser
AuthUser model

Enums

SocialProvider
List of available social providers

Functions

generateNonce([int length = 32]) String
Generates a cryptographically secure random nonce, to be included in a credential request.
sha256ofString(String input) String
Returns the sha256 hash of input in hex notation.

Exceptions / Errors

LogInWithEmailAndPasswordFailure
Thrown during the login process if a failure occurs. https://pub.dev/documentation/firebase_auth/latest/firebase_auth/FirebaseAuth/signInWithEmailAndPassword.html
LogInWithGoogleFailure
Thrown during the sign in with google process if a failure occurs. https://pub.dev/documentation/firebase_auth/latest/firebase_auth/FirebaseAuth/signInWithCredential.html
LogOutFailure
Thrown during the logout process if a failure occurs.
SignUpWithEmailAndPasswordFailure
Thrown if during the sign up process if a failure occurs.