Crate salvo_jwt_auth

source ·
Expand description

The jwt auth middleware of Savlo web server framework. Read more: https://salvo.rs

Re-exports

Modules

  • oidcoidc
    Oidc(OpenID Connect) support module

Structs

  • ConstDecoder will decode token with a static secret.
  • 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

Constants

Traits

Functions

  • Decode and validate a JWT