Global

Type Definitions

object

# Claims

Custom claims can be added via the `TCustomClaims` generic parameter, which will be merged with the standard claims properties. These custom claims must follow the `Record` pattern.
Properties:
Name Type Attributes Description
subject string The subject or identifier of the claims.
issued_at string <optional>
The timestamp when the claims were issued (optional).
expiration string The timestamp when the claims expire.
audience Array.<string> <optional>
The intended audience(s) for the claims (optional).
issuer string <optional>
The entity that issued the claims (optional).
email Pick.<Email, ("address"|"is_primary"|"is_verified")> <optional>
Email information associated with the subject (optional).
username string <optional>
The subject's username (optional).
session_id string The session identifier linked to the claims.
subject string
issued_at string <optional>
expiration string
audience Array <optional>
issuer string <optional>
email Pick.<Email, ("address"|"is_primary"|"is_verified")> <optional>
username string <optional>
session_id string

View Source lib/Dto.ts, line 39