AuthToken class

Constructors

AuthToken(String accessToken, DateTime issueDate, DateTime expirationDate, [String? refreshToken])

Properties

accessToken String
The value to be passed as a Bearer Authorization header.
getter/setter pair
expirationDate DateTime
The time when this token expires.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isExpired bool
Whether or not this token is expired by evaluated expirationDate.
no setter
issueDate DateTime
The time this token was issued on.
getter/setter pair
refreshToken String?
The value to be passed for refreshing a token.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asMap() Map<String, dynamic>
Emits this instance as a Map according to the OAuth 2.0 specification.
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