Class JWTUtils

Class JWTUtils#

Class Documentation#

class xbe.sdk.Utils.JWTUtils#

Utility class for working with JWT tokens.

Public Functions

JWTUtils (JWTUtilsConfig Config)#
JWTPayload DecodeToken (string token)#

Decodes the given JWT token and returns the payload as an Object.

Param token:

The JWT token to decode.

Return:

The payload object of the decoded JWT token, otherwise null.