[−][src]Trait oauth1_request::signature_method::SignatureMethod
Types that represent a signature method.
This is used to construct a Self::Sign
and carries configuration data for them.
Associated Types
Loading content...Required methods
fn sign_with(
self,
consumer_secret: impl Display,
token_secret: Option<impl Display>
) -> Self::Sign
self,
consumer_secret: impl Display,
token_secret: Option<impl Display>
) -> Self::Sign
Creates a Self::Sign
that signs a signature base string with the given client credentials.
Implementors
impl SignatureMethod for HmacSha1
[src]
type Sign = HmacSha1Sign
fn sign_with(
self,
consumer_secret: impl Display,
token_secret: Option<impl Display>
) -> HmacSha1Sign
[src]
self,
consumer_secret: impl Display,
token_secret: Option<impl Display>
) -> HmacSha1Sign
impl SignatureMethod for Identity
[src]
type Sign = IdentitySign
fn sign_with(
self,
_consumer_secret: impl Display,
_token_secret: Option<impl Display>
) -> IdentitySign
[src]
self,
_consumer_secret: impl Display,
_token_secret: Option<impl Display>
) -> IdentitySign
impl SignatureMethod for Plaintext
[src]
type Sign = PlaintextSign
fn sign_with(
self,
consumer_secret: impl Display,
token_secret: Option<impl Display>
) -> PlaintextSign
[src]
self,
consumer_secret: impl Display,
token_secret: Option<impl Display>
) -> PlaintextSign