Class JWTPayload#

Inheritance Relationships#

Base Type#

Class Documentation#

class xbe.sdk.Utils.JWTPayload : xbe.sdk.Object#

Describes the structure of the payload object from an XBE sJWT token.

Public Functions

JWTPayload ()#
JWTPayload (Object obj)

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.

User Profile { get; set; }#

The User data of the authenticated user.

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: