Module authorization

Source
Expand description

Authorization header and types.

Structs§

Authorization
Authorization header, defined in RFC7235
InvalidHttpBearerToken
bearer token is not a valid header value

Traits§

Authority
The Authority trait is used to determine if a set of Credentials are authorized.
AuthoritySync
A synchronous version of Authority, to be used for primitive implementations.
Credentials
Credentials to be used in the Authorization header.