Crate jwt_service

Crate jwt_service 

Source
Expand description

A high-performance async library for JWT (JSON Web Token) authentication and authorization. Supports token generation, validation, and custom claims with optimized memory usage, ideal for HTTP clients/servers and web applications.

Structs§

CustomExtraJwtClaims
Generic JWT claims struct that supports custom payload data.
ExtraJwtClaims
Extended JWT claims struct with support for custom extra fields.
JwtConfig
JWT configuration struct containing secret key, expiration time, and issuer.
JwtExtraJwtClaims
Standard JWT claims struct with common fields.
JwtService
JWT service struct providing token generation and validation functionality.
JwtToken
JWT token response struct containing the token and metadata.

Enums§

JwtValidationError