Class JWTPayload#
Defined in File JWTUtils.cs
Inheritance Relationships#
Base Type#
public xbe.sdk.Object
(Class Object)
Class Documentation#
- class xbe.sdk.Utils.JWTPayload : xbe.sdk.Object#
Describes the structure of the payload object from an XBE sJWT token.
Properties
- string Audience { get; set; }#
The audience that the token is intended for (e.g. domain name).
- bool Compression { get; set; }#
Indicates if the payload profile has been compressed and with what method.
- bool Encryption { get; set; }#
Indicates if the payload profile has been encrypted.
- int Expires { get; set; }#
The expiration time of the token (from Unix epoch).
- int IssuedAt { get; set; }#
The time that the token was issued at (from Unix epoch).
- string Issuer { get; set; }#
The token’s issuer (who created and signed the token).
- string SessionUid { get; set; }#
The unique identifier of the user’s authentication session.
Public Static Functions
- new JWTPayload Parse (string json)#
- JWTPayload Parse (string json, JWTUtilsPayloadOptions options)
Parses the given JSON encoded string into a new JWTPayload instance.
- Param json:
- Return: