[−][src]Trait jwt::token::verified::VerifyWithStore
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,
S: Store<Algorithm = A>,
A: VerifyingAlgorithm,
Implementations on Foreign Types
impl<'a, H, C> VerifyWithStore<Token<H, C, Verified>> for &'a str where
H: FromBase64 + JoseHeader,
C: FromBase64,
[src]
H: FromBase64 + JoseHeader,
C: FromBase64,
fn verify_with_store<S, A>(
self,
store: &S
) -> Result<Token<H, C, Verified>, Error> where
S: Store<Algorithm = A>,
A: VerifyingAlgorithm,
[src]
self,
store: &S
) -> Result<Token<H, C, Verified>, Error> where
S: Store<Algorithm = A>,
A: VerifyingAlgorithm,
impl<'a, C: FromBase64> VerifyWithStore<C> for &'a str
[src]
fn verify_with_store<S, A>(self, store: &S) -> Result<C, Error> where
S: Store<Algorithm = A>,
A: VerifyingAlgorithm,
[src]
S: Store<Algorithm = A>,
A: VerifyingAlgorithm,
Implementors
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]
self,
store: &S
) -> Result<Token<H, C, Verified>, Error> where
S: Store<Algorithm = A>,
A: VerifyingAlgorithm,