Trait openidconnect::NonceVerifier[][src]

pub trait NonceVerifier {
    fn verify(self, nonce: Option<&Nonce>) -> Result<(), String>;
}
Expand description

Trait for verifying ID token nonces.

Required methods

Verifies the nonce.

Returns Ok(()) if the nonce is valid, or a string describing the error otherwise.

Implementors