Enum http_types::auth::AuthenticationScheme [−][src]
#[non_exhaustive] pub enum AuthenticationScheme { Basic, Bearer, Digest, Hoba, Mutual, Negotiate, OAuth, ScramSha1, ScramSha256, Vapid, }
Expand description
HTTP Mutual Authentication Algorithms
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RFC7617 Basic auth
RFC6750 Bearer auth
RFC7616 Digest auth
RFC7486 HTTP Origin-Bound Authentication (HOBA)
RFC8120 Mutual auth
RFC4559 Negotiate auth
RFC5849 OAuth
RFC7804 SCRAM SHA1 auth
RFC7804 SCRAM SHA256 auth
RFC8292 Vapid auth
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthenticationScheme
impl Send for AuthenticationScheme
impl Sync for AuthenticationScheme
impl Unpin for AuthenticationScheme
impl UnwindSafe for AuthenticationScheme
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self