check_signature

Function check_signature 

Source
pub fn check_signature(
    signature_to_check: &str,
    method: &str,
    uri: &str,
    query: &str,
    consumer_secret: &str,
    token_secret: Option<&str>,
) -> bool
Expand description

Checks if the signature created by the given request data is the same as the provided signature.

See check_signature_request for a function that automatically does this with any GenericRequest