Expand description
Authentication and authorization data structures
Structs§
- Allow
AllAuthenticator - Middleware wrapper service, that should be used as the outermost layer in a
stack of hyper services. Adds a context to a plain
hyper::Request
that can be used by subsequent layers in the stack. TheAddContextService
struct should not usually be used directly - when constructing a hyper stack useAddContextMakeService
, which will createAddContextService
instances as needed. - Allow
AllAuthenticator Make Service - Dummy Authenticator, that blindly inserts authorization data, allowing all access to an endpoint with the specified subject.
- Authorization
- Storage of authorization parameters for an incoming request, used for REST API authorization.
Enums§
- Auth
Data - Storage of raw authentication data, used both for storing incoming request authentication, and for authenticating outgoing client requests.
- Scopes
- Authorization scopes.
Traits§
- RcBound
- Bound for Request Context for MakeService wrappers
Functions§
- api_
key_ from_ header - Retrieve an API key from a header