Trait jwt::token::verified::VerifyWithKey
source · pub trait VerifyWithKey<T> {
// Required method
fn verify_with_key(self, key: &impl VerifyingAlgorithm) -> Result<T, Error>;
}
Expand description
Allow objects to be verified with a key.
Required Methods§
fn verify_with_key(self, key: &impl VerifyingAlgorithm) -> Result<T, Error>
Object Safety§
This trait is not object safe.