Skip to main content

OAuthIdTokenClaimsVerifier

Trait OAuthIdTokenClaimsVerifier 

Source
pub trait OAuthIdTokenClaimsVerifier: Send + Sync {
    // Required method
    fn verify_claims(&self, claims: &JsValue) -> bool;
}
Expand description

Application-owned policy applied to claims only after cryptographic and standard claim verification. It must not select an untrusted key authority.

Required Methods§

Source

fn verify_claims(&self, claims: &JsValue) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§