Skip to main content

Module validate_authorization

Module validate_authorization 

Available on crate feature http only.
Expand description

Authorize requests using ValidateRequest.

Structs§

HttpAuthorizer
Utility type to allow you to use any Authorizer that works with Credentials to authorize the Authorization header, and return StatusCode::UNAUTHORIZED response with header::WWW_AUTHENTICATE for unauthorized request, tracing the original error for your convenience.