[][src]Module openapi_context::auth

Authentication and authorization data structures

Structs

AllowAllAuthenticator

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. The AddContextService struct should not usually be used directly - when constructing a hyper stack use AddContextMakeService, which will create AddContextService instances as needed.

AllowAllAuthenticatorMakeService

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

AuthData

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