Module validate_authorization
Expand description
Authorize requests using ValidateRequest
.
Structsยง
- Http
Authorizer - Utility type to allow you to use any
Authorizer
that works withCredentials
to authorize theAuthorization
header, and returnStatusCode::UNAUTHORIZED
response withheader::WWW_AUTHENTICATE
for unauthorized request, tracing the original error for your convenience.