JwtVerifier

Trait JwtVerifier 

Source
pub trait JwtVerifier: Verifier<Vec<u8>> {
    // Required method
    fn algorithm(&self) -> Algorithm;
}
Expand description

Trait providing the functionality to verify a JWT.

Allows an arbitrary crypto backend to be provided.

Required Methods§

Source

fn algorithm(&self) -> Algorithm

Return the Algorithm corresponding to the signing module.

Implementors§