MethodChannelFirebaseAuthOAuth class
Method channel implementation of FirebaseAuthOAuth
- Inheritance
-
- Object
- FirebaseAuthOAuth
- MethodChannelFirebaseAuthOAuth
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 FirebaseUser
An error will be throw if there's no FirebaseUser
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 FirebaseUser
An error will be throw if there's no FirebaseUser
It will return authentication resultOAuthCredential
. If supported by Firebase, this will contains the provider access token asaccessToken
.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 instanceoverride -
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 resultOAuthCredential
. If supported by Firebase, this will contains the provider access token asaccessToken
.override -
toString(
) → String -
A string representation of this object.
inherited
-
withApp(
FirebaseApp app) → FirebaseAuthOAuth -
Builds an instance of FirebaseAuthOAuth using a
FirebaseApp
instanceoverride
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited