Trait jwt::token::signed::SignWithKey[][src]

pub trait SignWithKey<T> {
    fn sign_with_key(self, key: &impl SigningAlgorithm) -> Result<T, Error>;
}
Expand description

Allow objects to be signed with a key.

Required methods

Implementors