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
| Attribute | Type | Description |
|---|---|---|
| sub | `str | None` = null |
Constructor
Signature
def TokenPayload(
sub: str | None = None
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| sub | `str | None` = None |
Signature
def TokenPayload(
sub: str | None = None
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| sub | `str | None` = None |