Trait jwt::token::signed::SignWithStore [−][src]
pub trait SignWithStore<T> { fn sign_with_store<S, A>(self, store: &S) -> Result<T, Error>
where
S: Store<Algorithm = A>,
A: SigningAlgorithm; }
Expand description
Allow objects to be signed with a store.
Required methods
fn sign_with_store<S, A>(self, store: &S) -> Result<T, Error> where
S: Store<Algorithm = A>,
A: SigningAlgorithm,
[src]Implementations on Foreign Types
fn sign_with_store<S, A>(self, store: &S) -> Result<String, Error> where
S: Store<Algorithm = A>,
A: SigningAlgorithm,
[src]Implementors
impl<H, C> SignWithStore<Token<H, C, Signed>> for Token<H, C, Unsigned> where
H: ToBase64 + JoseHeader,
C: ToBase64,
[src]
impl<H, C> SignWithStore<Token<H, C, Signed>> for Token<H, C, Unsigned> where
H: ToBase64 + JoseHeader,
C: ToBase64,
[src]fn sign_with_store<S, A>(self, store: &S) -> Result<Token<H, C, Signed>, Error> where
S: Store<Algorithm = A>,
A: SigningAlgorithm,
[src]