OAuth2Token class

Constructors

OAuth2Token({required String accessToken, String? tokenType = 'bearer', int? expiresIn, String? refreshToken, String? scope})
{macro oauth2_token}
const

Properties

accessToken String
The access token string as issued by the authorization server.
final
expiresIn int?
If the access token expires, the server should reply with the duration of time the access token is granted for.
final
hashCode int
The hash code for this object.
no setterinherited
refreshToken String?
Token which applications can use to obtain another access token.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String?
Application scope granted as defined in https://oauth.net/2/scope
final
tokenType String?
The type of token this is, typically just the string “bearer”.
final

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