add_expiring_auth_to_headers

Function add_expiring_auth_to_headers 

Source
pub fn add_expiring_auth_to_headers(
    path: &str,
    headers: &mut HeaderMap,
    body: &[u8],
    key: &HmacKey,
    expiration: Duration,
)
Expand description

Add an auth expiration and signature to a set of headers