pub trait SignatureMethod {
    type Sign: Sign;

    fn sign_with(
        self,
        consumer_secret: impl Display,
        token_secret: Option<impl Display>
    ) -> Self::Sign; }
Expand description

Types that represent a signature method.

This is used to construct a Self::Sign and carries configuration data for them.

Required Associated Types

The algorithm used by this signature method to sign a signature base string.

Required Methods

Creates a Self::Sign that signs a signature base string with the given client credentials.

Implementors