Module swagger::auth[][src]

Authentication and authorization data structures

Structs

AllowAllAuthenticator

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.

Basic

Credential holder for Basic Authentication

Bearer

Token holder for Bearer Authentication, most often seen with oauth

Header

Authorization header, defined in RFC7235

MakeAllowAllAuthenticator

Dummy Authenticator, that blindly inserts authorization data, allowing all access to an endpoint with the specified subject.

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

from_headers

Retrieve an authorization scheme data from a set of headers