OAuthCredential class

Represents the OAuth credentials for the user.

This extends AuthCredential for OAuth-specific fields.

Inheritance
Implementers

Constructors

OAuthCredential({required String providerId, required String signInMethod, String? accessToken, String? idToken})
Constructs an OAuthCredential.

Properties

accessToken → String?
The access token (optional).
final
hashCode → int
The hash code for this object.
no setterinherited
idToken → String?
The ID token (optional).
final
providerId → String
The provider ID.
finalinherited
rawNonce → String?
The raw nonce (optional).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signInMethod → String
The sign-in method.
finalinherited
token → int?
The token (optional).
finalinherited

Methods

asMap() → Map<String, String?>
Converts the credential to a map.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
Returns a string representation of the credential.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited