launchpadlib::auth

Function generate_oauth1_authorization_header

source
pub fn generate_oauth1_authorization_header(
    url: &Url,
    consumer_key: &str,
    consumer_secret: Option<&str>,
    token: &str,
    token_secret: &str,
    timestamp: Option<NaiveDateTime>,
    nonce: Option<usize>,
) -> String
Expand description

Generate a string for use in the Authorize header: