B2CAccessToken class

Access token utility class.

Constructors

B2CAccessToken(String subject, String token, DateTime expireOn)
Creates an access token.
B2CAccessToken.fromJson(Map<String, dynamic> data)
Creates an access token from a JSON map.

Properties

expireOn DateTime
Access token expiration date in UTC format.
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String
Owner of the access token.
latefinal
token String
Access token string.
latefinal

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
Transform the token to a JSON representation.
toString() String
A string representation of this object.
inherited

Operators

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