Skip to main content

Module model

Module model 

Source
Expand description

§JWT Data Models

This module contains data structures and types used for JWT processing including claims, signing algorithms, and validation components.

§Primary types

Modules§

claim_names
JWT available claims.

Structs§

JWTClaims
The JWT decoded content. It consists of 2 key-value maps: one for the JWT header and another one for the JWT body.

Enums§

SigningAlgorithm
List of possible JWT signing algorithms. See JWT signing algorithms specification (RFC 7518)
SigningKeyLength
List of possible JWT signing key lengths. Note: not all algorithms support all key lengths

Traits§

ValueRetrieval
Trait to be implemented for any sized data type for which a JWT claim wants to casted when retrieved by the JWTClaims::get_claim method.