pub trait JwtSigner: Signer<Vec<u8>> { // Required method fn algorithm(&self) -> Algorithm; }
Trait providing the functionality to sign a JWT.
Allows an arbitrary crypto backend to be provided.
Return the Algorithm corresponding to the signing module.
Algorithm