Skip to main content

TokenPayload

This class represents the schema for a decoded authentication token payload. It defines the structure for token data, specifically capturing the subject identifier (sub) as an optional string.

Attributes

AttributeTypeDescription
sub`strNone` = null

Constructor

Signature

def TokenPayload(
sub: str | None = None
) - > null

Parameters

NameTypeDescription
sub`strNone` = None

Signature

def TokenPayload(
sub: str | None = None
) - > null

Parameters

NameTypeDescription
sub`strNone` = None