pub trait SignatureMethod {
type Sign: Sign;
fn sign_with(
self,
client_secret: &str,
token_secret: Option<&str>
) -> 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
Required Methods
Implementors
sourceimpl SignatureMethod for HmacSha1
Available on crate feature hmac-sha1
only.
impl SignatureMethod for HmacSha1
Available on crate feature
hmac-sha1
only.