Skip to main content

Module authentication

Module authentication 

Source
Available on crate feature api only.
Expand description

Common types for implementing federation authorization.

Structs§

ServerSignatures
Authentication is performed by adding an X-Matrix header including a signature in the request headers, as defined in the Matrix Server-Server API.
ServerSignaturesInput
The input necessary to generate the ServerSignatures authentication scheme.
XMatrix
Typed representation of an Authorization header of scheme X-Matrix, as defined in the Matrix Server-Server API.

Enums§

XMatrixExtractError
An error when trying to extract an XMatrix from an HTTP request.
XMatrixFromRequestError
An error when trying to construct an XMatrix from a http::Request.
XMatrixParseError
An error when trying to parse an X-Matrix Authorization header.
XMatrixVerificationError
An error when trying to verify the signature in an XMatrix for an HTTP request.