OAuth2PkceTokenResponse class

OAuth2 token response containing access token and optional metadata.

Constructors

OAuth2PkceTokenResponse({required String accessToken, String? refreshToken, int? expiresIn, Map<String, dynamic> raw = const {}})
Creates a new OAuth2PkceTokenResponse.
const

Properties

accessToken → String
The access token issued by the authorization server.
final
expiresIn → int?
The lifetime in seconds of the access token.
final
hashCode → int
The hash code for this object.
no setterinherited
raw → Map<String, dynamic>
Raw parsed response for accessing provider-specific fields.
final
refreshToken → String?
The refresh token used to obtain new access tokens.
final
runtimeType → Type
A representation of the runtime type of the object.
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