Module claims

Source
Expand description

§Claims for Common Access Token

This module provides the claims structure and related types for Common Access Tokens.

Claims in Common Access Tokens are divided into two categories:

  • Registered Claims: Standard claims defined in RFC 8392, such as issuer, subject, audience, and expiration time.
  • Custom Claims: Application-specific claims that can contain any CBOR-encodable value.

Claims are used to convey information about the token subject and context, and can be used for authorization decisions by the token verifier.

Modules§

keys
CWT claim keys as defined in RFC 8392

Structs§

Claims
Claims for a Common Access Token.
RegisteredClaims
Standard registered claims as defined in RFC 8392.

Type Aliases§

ClaimsMap
Type alias for claims map