Crate actix_web_jwt

Source
Expand description

§actix-web-jwt

This is a JWT token validation middleware for actix-web. This middleware will validate the JWT token and forward the request to the next middleware. If the token is invalid then it will return a 401 response.

JWKS is used to validate the token. Application must periodically invoke the JWKS endpoint using the CertInvoker to get the latest cert.

§Documentation

Structs§

Cert
CertInvoker
This is use to invoke cert endpoint and store the cert in memory
Claims
JWTResponse
JWTResponseError
Jwt
JwtMiddleware
JWT middleware for toke validation
Key

Enums§

JWKSError

Traits§

JWTValidator
This is use to validate the JWT token in a application specific way