Crate gotham_middleware_jwt[−][src]
Verifies JSON Web Tokens provided via the Authorization
header, allowing valid requests to pass through with the token
data stored in State
. Requests that lack a token or fail
validation are returned as StatusCode::Unauthorized
.
Structs
AuthorizationToken |
Struct to contain the JSON Web Token on a per-request basis. |
JWTMiddleware |
Verifies JSON Web tokens provided via the |