MethodChannelFirebaseAuthOAuth class

Method channel implementation of FirebaseAuthOAuth

Inheritance

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
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 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
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