FirebaseAuthOAuth class

Platform interface definition of FirebaseAuthOAuth

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

linkExistingUserWithCredentials(String provider, List<String> scopes, [Map<String, String>? customOAuthParameters]) Future<User?>
Starts a OAuth sign-in flow for provider using Firebase. The instance of FirebaseAuth will be from the default Firebase App Unless withApp is used to build an instance. The credentials will be added to the existing Firebase User An error will be throw if there's no Firebase User
linkWithOAuth(String provider, List<String> scopes, [Map<String, String>? customOAuthParameters]) Future<OAuthCredential>
Starts a OAuth sign-in flow for provider using Firebase. The instance of FirebaseAuth will be from the default Firebase App Unless withApp is used to build an instance. The credentials will be added to the existing Firebase User An error will be throw if there's no Firebase User It will return authentication result OAuthCredential. If supported by Firebase, this will contains the provider access token as accessToken.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openSignInFlow(String provider, List<String> scopes, [Map<String, String>? customOAuthParameters]) Future<User?>
Starts a OAuth sign-in flow for provider using Firebase. The instance of FirebaseAuth will be from the default Firebase App Unless withApp is used to build an instance
signInOAuth(String provider, List<String> scopes, [Map<String, String>? customOAuthParameters]) Future<OAuthCredential>
Starts a OAuth sign-in flow for provider using Firebase. The instance of FirebaseAuth will be from the default Firebase App Unless withApp is used to build an instance It will return authentication result OAuthCredential. If supported by Firebase, this will contains the provider access token as accessToken.
toString() String
A string representation of this object.
inherited
withApp(FirebaseApp app) FirebaseAuthOAuth
Builds an instance of FirebaseAuthOAuth using a FirebaseApp instance

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance FirebaseAuthOAuth
Default instance if FirebaseAuthOAuth
getter/setter pair