Enum swagger::auth::AuthData [−][src]
Expand description
Storage of raw authentication data, used both for storing incoming request authentication, and for authenticating outgoing client requests.
Variants
Basic(Basic)
HTTP Basic auth.
Bearer(Bearer)
HTTP Bearer auth, used for OAuth2.
ApiKey(String)
Header-based or query parameter-based API key auth.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthData
impl UnwindSafe for AuthData
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more