[][src]Enum tide::http::auth::AuthenticationScheme

#[non_exhaustive]pub enum AuthenticationScheme {
    Basic,
    Bearer,
    Digest,
    Hoba,
    Mutual,
    Negotiate,
    OAuth,
    ScramSha1,
    ScramSha256,
    Vapid,
}

HTTP Mutual Authentication Algorithms

Variants (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.
Basic

RFC7617 Basic auth

Bearer

RFC6750 Bearer auth

Digest

RFC7616 Digest auth

Hoba

RFC7486 HTTP Origin-Bound Authentication (HOBA)

Mutual

RFC8120 Mutual auth

Negotiate

RFC4559 Negotiate auth

OAuth

RFC5849 OAuth

ScramSha1

RFC7804 SCRAM SHA1 auth

ScramSha256

RFC7804 SCRAM SHA256 auth

Vapid

RFC8292 Vapid auth

Trait Implementations

impl Clone for AuthenticationScheme[src]

impl Copy for AuthenticationScheme[src]

impl Debug for AuthenticationScheme[src]

impl Display for AuthenticationScheme[src]

impl Eq for AuthenticationScheme[src]

impl FromStr for AuthenticationScheme[src]

type Err = Error

The associated error which can be returned from parsing.

impl PartialEq<AuthenticationScheme> for AuthenticationScheme[src]

impl StructuralEq for AuthenticationScheme[src]

impl StructuralPartialEq for AuthenticationScheme[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,