RefreshableTokenMap class

Entire token. Including refresh. Obtained through token setup.

Inheritance

Constructors

RefreshableTokenMap.new({String? accessToken, int? expiresIn, String? scope, String? tokenType, int? expiresAt, String? refreshToken})
Create new RefreshableTokenMap.
RefreshableTokenMap.fromJson(JsonMap json)
Create new RefreshableTokenMap from a JsonMap.
factory

Properties

accessToken String?
String to be used in authorization header.
finalinherited
expiresAt int?
UNIX epoch timestamp in seconds.
final
expiresIn int?
Seconds until expiration from request timestamp.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
refreshToken String?
String used to obtain new access token upon expiration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String?
Should be 'https://www.googleapis.com/auth/youtube'.
finalinherited
tokenType String?
Should be 'Bearer'.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() JsonMap
Returns this RefreshableTokenMap instance as JsonMap.
override
toString() String
A string representation of this object.
inherited

Operators

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