FirebaseAuthenticationProvider class Null safety
Firebase authentication provider, handles the state of the user authentication issued by external providers (Google, Facebook, Twitter)
Constructors
- FirebaseAuthenticationProvider({required FirebaseAuth firebaseAuth})
Properties
- 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
-
getAuthStates(
) → Stream< User?> - Get the current authentication state as Stream
-
login(
{required AuthCredential credential}) → Future< User?> -
Login user using AuthCredential issued by IExternalAuthenticationProvider and return
User
-
logout(
) → Future< void> - Logout user
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited