[][src]Function suzume::verify

pub fn verify<H, P, F>(jwt: String, fetcher: F) -> Result<P, Error> where
    H: Header + DeserializeOwned,
    P: Payload + DeserializeOwned,
    F: KeyFetcher

verify jwt and return contained payload