GoogleAuthCredential class Null safety

The auth credential returned from calling GoogleAuthProvider.credential.

Inheritance

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.
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
idToken String?
The OAuth ID token associated with the credential if it belongs to an OIDC provider, such as google.com.
final, inherited
providerId String
The authentication provider ID for the credential. For example, 'facebook.com', or 'google.com'.
final, inherited
rawNonce String?
The raw nonce associated with the ID token. It is required when an ID token with a nonce field is provided. The SHA-256 hash of the raw nonce must match the nonce field in the ID token.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secret String?
The OAuth access token secret associated with the credential if it belongs to an OAuth 1.0 provider, such as twitter.com.
final, inherited
signInMethod String
The authentication sign in method for the credential. For example, 'password', or 'emailLink'. This corresponds to the sign-in method identifier returned in fetchSignInMethodsForEmail.
final, inherited
token int?
A token used to identify the AuthCredential on native platforms.
final, inherited

Methods

asMap() Map<String, String?>
Returns the current instance as a serialized Map.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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