Module salvo_extra::jwt_auth [−][src]
Expand description
jwt auth middleware
Structs
CookieExtractor
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
FormExtractor
HeaderExtractor
JwtAuthHandler, used as middleware.
An error that can occur when encoding/decoding JWTs
QueryExtractor
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 claims data to depot.
key used to insert auth state data to depot.
key used to insert auth token data to depot.
Traits
JwtAuthDepotExt
JwtTokenExtractor
Functions
Decode and validate a JWT