Module auth_scheme

Module auth_scheme 

Source
Available on crate feature api only.
Expand description

The AuthScheme trait used to specify the authentication scheme used by endpoints and the types that implement it.

Structs§

AccessToken
Authentication is performed by including an access token in the Authentication http header, or an access_token query parameter.
AccessTokenOptional
Authentication is optional, and it is performed by including an access token in the Authentication http header, or an access_token query parameter.
AppserviceToken
Authentication is required, and can only be performed for appservices, by including an appservice access token in the Authentication http header, or access_token query parameter.
AppserviceTokenOptional
No authentication is performed for clients, but it can be performed for appservices, by including an appservice access token in the Authentication http header, or an access_token query parameter.
NoAuthentication
No authentication is performed.
ServerSignatures
Authentication is performed by including X-Matrix signatures in the request headers, as defined in the federation API.

Traits§

AuthScheme
Trait implemented by types representing an authentication scheme used by an endpoint.