[−][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
pub fn sign_with(
self,
client_secret: &str,
token_secret: Option<&str>
) -> Self::Sign
self,
client_secret: &str,
token_secret: Option<&str>
) -> Self::Sign
Creates a Self::Sign
that signs a signature base string with the given shared-secrets.
Implementors
impl SignatureMethod for HmacSha1
[src]
type Sign = HmacSha1Sign
pub fn sign_with(
self,
client_secret: &str,
token_secret: Option<&str>
) -> HmacSha1Sign
[src]
self,
client_secret: &str,
token_secret: Option<&str>
) -> HmacSha1Sign
impl SignatureMethod for Identity
[src]
type Sign = IdentitySign
pub fn sign_with(
self,
_client_secret: &str,
_token_secret: Option<&str>
) -> IdentitySign
[src]
self,
_client_secret: &str,
_token_secret: Option<&str>
) -> IdentitySign
impl SignatureMethod for Plaintext
[src]
type Sign = PlaintextSign
pub fn sign_with(
self,
client_secret: &str,
token_secret: Option<&str>
) -> PlaintextSign
[src]
self,
client_secret: &str,
token_secret: Option<&str>
) -> PlaintextSign