TokenInfo class final

The access token information that can be used by clients in exchange for user credentials. The access token represents the authenticated user for a certain amount of time to access API functionality.

Implemented types

Properties

accessToken String
The access token string.
no setter
expirationDate DateTime
The token expiration date.
no setter
hashCode int
The hash code for this object.
no setteroverride
isSslRequired bool
A Boolean value that indicates whether the token must be passed over HTTPS.
no setter
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.
override

Static Methods

create({required String accessToken, required DateTime expirationDate, required bool isSslRequired}) TokenInfo?
Creates an instance of token info from given parameters.