[−][src]Crate gotham_middleware_jwt
Ensures that only requests with valid JSON Web Tokens
included in the HTTP Authorization
header are allowed
to pass.
Requests that lack a token are returned with the
Status Code 400: Bad Request
. Tokens that fail
validation cause the middleware to return Status Code
401: Unauthorized
.
Structs
AuthorizationToken |
Struct to contain the JSON Web Token on a per-request basis. |
JWTMiddleware |
This middleware verifies that JSON Web Token
credentials, provided via the HTTP |