pub trait JwtSigner: Signer<Vec<u8>> {
// Required method
fn algorithm(&self) -> Algorithm;
}Expand description
Trait providing the functionality to sign a JWT.
Allows an arbitrary crypto backend to be provided.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".