Module tower_async_http::auth
source · Available on crate feature
auth only.Expand description
Authorization related middleware.
Modules
- Add authorization to requests using the
Authorizationheader. - Authorize requests using the
Authorizationheader asynchronously. - Authorize requests using
ValidateRequest.
Structs
- Middleware that adds authorization all requests using the
Authorizationheader. - Layer that applies
AddAuthorizationwhich adds authorization to all requests using theAuthorizationheader. - Middleware that authorizes all requests using the
Authorizationheader. - Layer that applies
AsyncRequireAuthorizationwhich authorizes all requests using theAuthorizationheader.
Traits
- Trait for authorizing requests.