firebase_auth_dart library Null safety

Support for Firebase authentication methods with pure dart implmentation.

Classes

AdditionalUserInfo
A structure containing additional user information from a federated identity provider.
API
Pure Dart service layer to perform all requests with the underlying Identity Toolkit API.
APIConfig
Configurations necessary for making all Identity Toolkit requests.
AuthCredential
Interface that represents the credentials returned by an auth provider. Implementations specify the details about each auth provider's credential requirements.
AuthProvider
A base class which all providers must extend.
ConfirmationResult
Interface for ConfirmationResult implementations.
EmailAuthCredential
The auth credential returned from calling EmailAuthProvider.credential.
EmailAuthProvider
A EmailAuthCredential can be created by calling EmailAuthProvider.credential with an email and password.
FacebookAuthCredential
The auth credential returned from calling FacebookAuthProvider.credential.
FacebookAuthProvider
This class should be used to either create a new Facebook credential with an access code, or use the provider to trigger user authentication flows.
FirebaseAuth
Pure Dart FirebaseAuth implementation.
GithubAuthCredential
The auth credential returned from calling GithubAuthProvider.credential.
GithubAuthProvider
This class should be used to either create a new GitHub credential with an access code, or use the provider to trigger user authentication flows.
GoogleAuthCredential
The auth credential returned from calling GoogleAuthProvider.credential.
GoogleAuthProvider
This class should be used to either create a new Google credential with an access code, or use the provider to trigger user authentication flows.
IdTokenResult
OAuthCredential
A generic OAuth credential.
OAuthProvider
A generic provider instance.
PhoneAuthCredential
The auth credential returned from calling PhoneAuthProvider.credential.
PhoneAuthProvider
This class should be used to either create a new Phone credential with a verification ID and SMS code.
RecaptchaArgs
Recaptcha verification arguments needed to render recaptcha widget.
RecaptchaVerifier
Initiate and setup recaptcha flow.
TwitterAuthCredential
The auth credential returned from calling TwitterAuthProvider.credential.
TwitterAuthProvider
This class should be used to either create a new Twitter credential with an access code, or use the provider to trigger user authentication flows.
User
User object wrapping the responses from identity toolkit.
UserCredential
A UserCredential is returned from authentication requests such as FirebaseAuth.createUserWithEmailAndPassword.
UserInfo
User profile information, visible only to the Firebase project's apps.
UserMetadata
Interface representing a user's metadata.

Exceptions / Errors

FirebaseAuthException
Wrap the errors from the Identity Platform REST API, usually of type DetailedApiRequestError in a in a Firebase-friendly format to users.