AccessToken class
Access token and refresh token information.
Constructors
-
AccessToken(String accessToken, DateTime accessTokenExpiresAt, String refreshToken, DateTime refreshTokenExpiresAt, List<
String> scopes)
Properties
- accessToken ↔ String
-
read / write
- accessTokenExpiresAt ↔ DateTime
-
Use this field with caution. Token might have expired on server side.
read / write
- refreshToken ↔ String
-
read / write
- refreshTokenExpiresAt ↔ DateTime
-
Use this field with caution. Token might have expired on server side.
read / write
-
scopes
↔ List<
String> -
List of scopes this user has agreed to when this token was issued.
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
toString(
) → String - Returns a string representation of this object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
inherited