AuthToken class

AuthToken class, contains the infos of an authentication token

Constructors

AuthToken({required String accessToken, String? idToken, String? refreshToken, String? tokenType, int? expiresIn, OpenIdUser? user})
AuthToken default constructor
const

Properties

accessToken String
The access token
final
expiresIn int?
When your token expires TODO: See to convert it in a DateTime
final
hashCode int
The hash code for this object.
no setterinherited
idToken String?
The id token
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
refreshToken String?
The refresh token
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
tokenType String?
The type of the token
final
user OpenIdUser?
Your OpenIdUser informations linked to this token
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