OAuthCredential class abstract
Interface that represents the OAuth credentials returned by an OAuth provider. Implementations specify the details about each auth provider's credential requirements.
See: firebase.google.com/docs/reference/js/firebase.auth.OAuthCredential.
- Annotations
-
- @JS()
- @anonymous
Constructors
Properties
- accessToken → String
-
The OAuth access token associated with the credential if it belongs to
an OAuth provider, such as facebook.com, twitter.com, etc.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- idToken → String
-
The OAuth ID token associated with the credential if it belongs to an
OIDC provider, such as google.com.
no setter
- providerId → String
-
The authentication provider ID for the credential. For example,
'facebook.com', or 'google.com'.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret → String
-
The OAuth access token secret associated with the credential if it
belongs to an OAuth 1.0 provider, such as twitter.com.
no setter
- signInMethod → String
-
The authentication sign in method for the credential. For example,
'password', or 'emailLink'. This corresponds to the sign-in method
identifier as returned in firebase.auth.Auth.fetchSignInMethodsForEmail.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited