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§
- Access
Token - Authentication is performed by including an access token in the
Authenticationhttp header, or anaccess_tokenquery parameter. - Access
Token Optional - Authentication is optional, and it is performed by including an access token in the
Authenticationhttp header, or anaccess_tokenquery parameter. - Appservice
Token - Authentication is required, and can only be performed for appservices, by including an
appservice access token in the
Authenticationhttp header, oraccess_tokenquery 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
Authenticationhttp header, or anaccess_tokenquery parameter. - NoAuthentication
- No authentication is performed.
Enums§
- Send
Access Token - An enum to control whether an access token should be added to outgoing requests
Traits§
- Auth
Scheme - Trait implemented by types representing an authentication scheme used by an endpoint.