Available on crate features
client or server only.Expand description
Common types for implementing federation authorization.
Structs§
- Server
Signatures - Authentication is performed by adding an
X-Matrixauthentication scheme as the requestAuthorizationHTTP header, as defined in the Matrix Server-Server API. - XMatrix
- Typed representation of an
X-Matrixauthentication scheme, as defined in the Matrix Server-Server API. - XMatrix
Signing Input - The input necessary to generate an
X-Matrixauthentication scheme by signing an HTTP request.
Enums§
- XMatrix
Extract Error - An error when trying to extract an
XMatrixfrom the headers of an HTTP request. - XMatrix
From Request Error - An error when trying to construct an
XMatrixfrom ahttp::Request. - XMatrix
Parse Error - An error when trying to parse an X-Matrix Authorization header.
- XMatrix
Verification Error - An error when trying to verify the signature in an
XMatrixfor an HTTP request.