[][src]Trait jwt::token::verified::VerifyWithKey

pub trait VerifyWithKey<T> {
    fn verify_with_key(self, key: &dyn VerifyingAlgorithm) -> Result<T, Error>;
}

Allow objects to be verified with a key.

Required methods

fn verify_with_key(self, key: &dyn VerifyingAlgorithm) -> Result<T, Error>

Loading content...

Implementations on Foreign Types

impl<'a, H, C> VerifyWithKey<Token<H, C, Verified>> for &'a str where
    H: FromBase64 + JoseHeader,
    C: FromBase64
[src]

impl<'a, C: FromBase64> VerifyWithKey<C> for &'a str[src]

Loading content...

Implementors

impl<'a, H: JoseHeader, C> VerifyWithKey<Token<H, C, Verified>> for Token<H, C, Unverified<'a>>[src]

Loading content...