Function jsonwebtoken::verify [] [src]

pub fn verify(signature: &str, data: &str, secret: &[u8], algorithm: Algorithm) -> bool

Compares the signature given with a re-computed signature