[]Enum matrix_sdk_common::AuthScheme

pub enum AuthScheme {
    None,
    AccessToken,
    ServerSignatures,
    QueryOnlyAccessToken,
}

Authentication scheme used by the endpoint.

Variants

None

No authentication is performed.

AccessToken

Authentication is performed by including an access token in the Authentication http header, or an access_token query parameter.

It is recommended to use the header over the query parameter.

ServerSignatures

Authentication is performed by including X-Matrix signatures in the request headers, as defined in the federation API.

QueryOnlyAccessToken

Authentication is performed by setting the access_token query parameter.

Trait Implementations

impl Clone for AuthScheme

impl Copy for AuthScheme

impl Debug for AuthScheme

impl Eq for AuthScheme

impl PartialEq<AuthScheme> for AuthScheme

impl StructuralEq for AuthScheme

impl StructuralPartialEq for AuthScheme

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsyncTraitDeps for T where
    T: Send + Sync + Debug
[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,