Module tower_http::auth
source · Available on crate feature
auth
only.Expand description
Authorization related middleware.
Modules
- Add authorization to requests using the
Authorization
header. - Authorize requests using the
Authorization
header asynchronously. - Authorize requests using
ValidateRequest
.
Structs
- Middleware that adds authorization all requests using the
Authorization
header. - Layer that applies
AddAuthorization
which adds authorization to all requests using theAuthorization
header. - Middleware that authorizes all requests using the
Authorization
header. - Layer that applies
AsyncRequireAuthorization
which authorizes all requests using theAuthorization
header.
Traits
- Trait for authorizing requests.