TokenRequestStatus class

TokenRequestStatus is the result of a token request.

Constructors

TokenRequestStatus({required DateTime expirationTimestamp, required String token})
Default constructor.
const
TokenRequestStatus.fromJson(Map<String, dynamic> json)
Creates a TokenRequestStatus from JSON data.
factory

Properties

expirationTimestamp DateTime
ExpirationTimestamp is the time of expiration of the returned token.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
Token is the opaque bearer token.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a TokenRequestStatus instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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