pub struct ServerSignatures;Expand description
Authentication is performed by adding an X-Matrix header including a signature in the request
headers, as defined in the Matrix Server-Server API.
Trait Implementations§
Source§impl AuthScheme for ServerSignatures
impl AuthScheme for ServerSignatures
Source§type Input<'a> = ServerSignaturesInput<'a>
type Input<'a> = ServerSignaturesInput<'a>
The input necessary to generate the authentication.
Source§fn add_authentication<T: AsRef<[u8]>>(
request: &mut Request<T>,
input: ServerSignaturesInput<'_>,
) -> Result<(), IntoHttpError>
fn add_authentication<T: AsRef<[u8]>>( request: &mut Request<T>, input: ServerSignaturesInput<'_>, ) -> Result<(), IntoHttpError>
Add this authentication scheme to the given outgoing request, if necessary. Read more
Source§impl Clone for ServerSignatures
impl Clone for ServerSignatures
Source§fn clone(&self) -> ServerSignatures
fn clone(&self) -> ServerSignatures
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerSignatures
impl Debug for ServerSignatures
Source§impl Default for ServerSignatures
impl Default for ServerSignatures
Source§fn default() -> ServerSignatures
fn default() -> ServerSignatures
Returns the “default value” for a type. Read more
impl Copy for ServerSignatures
Auto Trait Implementations§
impl Freeze for ServerSignatures
impl RefUnwindSafe for ServerSignatures
impl Send for ServerSignatures
impl Sync for ServerSignatures
impl Unpin for ServerSignatures
impl UnwindSafe for ServerSignatures
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more