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 the Authorization header.

Structs

Middleware that adds authorization all requests using the Authorization header.
Layer that applies AddAuthorization which adds authorization to all requests using the Authorization header.
Middleware that authorizes all requests using the Authorization header.
Layer that applies AsyncRequireAuthorization which authorizes all requests using the Authorization header.
Middleware that authorizes all requests using the Authorization header.
Layer that applies RequireAuthorization which authorizes all requests using the Authorization header.

Traits

Trait for authorizing requests.
Trait for authorizing requests.