Trait jwt::token::verified::VerifyWithStore [−][src]
pub trait VerifyWithStore<T> { fn verify_with_store<S, A>(self, store: &S) -> Result<T, Error>
where
S: Store<Algorithm = A>,
A: VerifyingAlgorithm; }
Expand description
Allow objects to be verified with a store.
Required methods
fn verify_with_store<S, A>(self, store: &S) -> Result<T, Error> where
S: Store<Algorithm = A>,
A: VerifyingAlgorithm,
[src]Implementations on Foreign Types
impl<'a, H, C> VerifyWithStore<Token<H, C, Verified>> for &'a str where
H: FromBase64 + JoseHeader,
C: FromBase64,
[src]
impl<'a, H, C> VerifyWithStore<Token<H, C, Verified>> for &'a str where
H: FromBase64 + JoseHeader,
C: FromBase64,
[src]fn verify_with_store<S, A>(
self,
store: &S
) -> Result<Token<H, C, Verified>, Error> where
S: Store<Algorithm = A>,
A: VerifyingAlgorithm,
[src]fn verify_with_store<S, A>(self, store: &S) -> Result<C, Error> where
S: Store<Algorithm = A>,
A: VerifyingAlgorithm,
[src]Implementors
impl<'a, H: JoseHeader, C> VerifyWithStore<Token<H, C, Verified>> for Token<H, C, Unverified<'a>>
[src]
impl<'a, H: JoseHeader, C> VerifyWithStore<Token<H, C, Verified>> for Token<H, C, Unverified<'a>>
[src]fn verify_with_store<S, A>(
self,
store: &S
) -> Result<Token<H, C, Verified>, Error> where
S: Store<Algorithm = A>,
A: VerifyingAlgorithm,
[src]