Module auth_scheme
Expand description
The AuthScheme
trait used to specify the authentication scheme used by endpoints and the types
that implement it.
Structs§
- Access
Token - Authentication is performed by including an access token in the
Authentication
http header, or anaccess_token
query parameter. - Access
Token Optional - Authentication is optional, and it is performed by including an access token in the
Authentication
http header, or anaccess_token
query parameter. - Appservice
Token - Authentication is required, and can only be performed for appservices, by including an
appservice access token in the
Authentication
http header, oraccess_token
query parameter. - Appservice
Token Optional - 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 anaccess_token
query parameter. - NoAuthentication
- No authentication is performed.
- Server
Signatures - Authentication is performed by including X-Matrix signatures in the request headers, as defined in the federation API.
Traits§
- Auth
Scheme - Trait implemented by types representing an authentication scheme used by an endpoint.