OAuth2Token class

Constructors

OAuth2Token({required String scope, required String jti, required String tokenType, required String accessToken, required String refreshToken, required int expiresIn, required int expiresAt, required int refreshTokenExpiresIn, required int refreshTokenExpiresAt})
OAuth2Token.fromJson(Map<String, dynamic> json)
factory

Properties

accessToken → String
final
expired → bool
no setter
expiresAt → int
final
expiresIn → int
final
hashCode → int
The hash code for this object.
no setterinherited
jti → String
final
refreshExpired → bool
no setter
refreshToken → String
final
refreshTokenExpiresAt → int
final
refreshTokenExpiresIn → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → String
final
tokenType → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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