OAuthCredential class Null safety
A generic OAuth credential.
This class is extended by other OAuth based credentials, or can be returned when generating credentials from 3rd party OAuth providers.
- accessToken → String?
The OAuth access token associated with the credential if it belongs to an
OAuth provider, such as
- hashCode → int
The hash code for this object.
- idToken → String?
The OAuth ID token associated with the credential if it belongs to an
OIDC provider, such as
- providerId → String
The authentication provider ID for the credential. For example,
'facebook.com', or 'google.com'.
- 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.
- runtimeType → Type
A representation of the runtime type of the object.
- secret → String?
The OAuth access token secret associated with the credential if it belongs
to an OAuth 1.0 provider, such as
- 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
- token → int?
A token used to identify the AuthCredential on native platforms.