FirebaseAuthOAuth class Null safety

Implemented types

Constructors

FirebaseAuthOAuth({FirebaseApp? app})

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

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
override
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.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
override
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.
override
toString() String
A string representation of this object. [...]
inherited
withApp(FirebaseApp app) FirebaseAuthOAuth
Builds an instance of FirebaseAuthOAuth using a FirebaseApp instance
override

Operators

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