Available on crate feature
auth
only.Expand description
Authorization related middleware.
Modules§
- add_
authorization - Add authorization to requests using the
Authorization
header. - async_
require_ authorization - Authorize requests using the
Authorization
header asynchronously. - require_
authorization - Authorize requests using
ValidateRequest
.
Structs§
- AddAuthorization
- Middleware that adds authorization all requests using the
Authorization
header. - AddAuthorization
Layer - Layer that applies
AddAuthorization
which adds authorization to all requests using theAuthorization
header. - Async
Require Authorization - Middleware that authorizes all requests using the
Authorization
header. - Async
Require Authorization Layer - Layer that applies
AsyncRequireAuthorization
which authorizes all requests using theAuthorization
header.
Traits§
- Async
Authorize Request - Trait for authorizing requests.