Available on crate feature jwt-auth only.
Expand description

jwt auth middleware

Structs

CookieFinder
All the different kind of keys we can use to decode a JWT This key can be re-used so make sure you only initialize it once if you can for better performance
FormFinder
HeaderFinder
JwtAuth, used as middleware.
An error that can occur when encoding/decoding JWTs
QueryFinder
The return type of a successful call to decode.
Contains the various validations that are applied after decoding a JWT.

Enums

The algorithms supported for signing/verifying JWTs
JwtAuthState

Constants

key used to insert auth decoded data to depot.
key used to insert auth state data to depot.
key used to insert auth token data to depot.

Traits

JwtAuthDepotExt
JwtTokenFinder

Functions

Decode and validate a JWT