Skip to main content

verify

Function verify 

Source
pub fn verify(url: &str, secret: &[u8]) -> Result<(), SignedUrlError>
Expand description

Verify the signature on url against secret. Returns Ok(()) when the URL is valid and (if it has an expires param) not yet expired.

ยงErrors

SignedUrlError variants describe the specific failure mode.