Expand description
A Rust library for working with JSON Web Tokens (JWTs) and JSON Web Signatures (JWSs)
Overview
Core JWT (CJWT) is a struct that holds the JWT token and its associated claims. It provides a set of utility functions for working with JSON Web Tokens (JWTs) and JSON Web Signatures (JWSs).
Features
- JWT token generation
- JWT token validation
- JWT token signing
Usage
serde
: Enable serialization/deserialization via serde
Structs
The Header struct contains the header of the JWT.
JWT is a struct that holds the JWT token and its associated claims.
Provides a set of utility functions for working with JSON Web Tokens
(JWTs) and JSON Web Signatures (JWSs).
Enums
The Algorithm enum contains a list of supported algorithms.