[−][src]Struct openidconnect::UserInfoVerifier
User info verifier.
Methods
impl<'a, JE, JS, JT, JU, K> UserInfoVerifier<'a, JE, JS, JT, JU, K> where
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
JU: JsonWebKeyUse,
K: JsonWebKey<JS, JT, JU>,
[src]
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
JU: JsonWebKeyUse,
K: JsonWebKey<JS, JT, JU>,
pub fn new(
client_id: ClientId,
issuer: IssuerUrl,
signature_keys: JsonWebKeySet<JS, JT, JU, K>,
expected_subject: Option<SubjectIdentifier>
) -> Self
[src]
client_id: ClientId,
issuer: IssuerUrl,
signature_keys: JsonWebKeySet<JS, JT, JU, K>,
expected_subject: Option<SubjectIdentifier>
) -> Self
Instantiates a user info verifier.
pub fn require_issuer_match(self, iss_required: bool) -> Self
[src]
Specifies whether the issuer claim must match the expected issuer URL for the provider.
pub fn require_audience_match(self, aud_required: bool) -> Self
[src]
Specifies whether the audience claim must match this client's client ID.
Trait Implementations
impl<'a, JE: Clone, JS: Clone, JT: Clone, JU: Clone, K: Clone> Clone for UserInfoVerifier<'a, JE, JS, JT, JU, K> where
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
JU: JsonWebKeyUse,
K: JsonWebKey<JS, JT, JU>,
[src]
JE: JweContentEncryptionAlgorithm<JT>,
JS: JwsSigningAlgorithm<JT>,
JT: JsonWebKeyType,
JU: JsonWebKeyUse,
K: JsonWebKey<JS, JT, JU>,
fn clone(&self) -> UserInfoVerifier<'a, JE, JS, JT, JU, K>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<'a, JE, JS, JT, JU, K> Unpin for UserInfoVerifier<'a, JE, JS, JT, JU, K> where
JE: Unpin,
JS: Unpin,
JT: Unpin,
JU: Unpin,
K: Unpin,
JE: Unpin,
JS: Unpin,
JT: Unpin,
JU: Unpin,
K: Unpin,
impl<'a, JE, JS, JT, JU, K> !Sync for UserInfoVerifier<'a, JE, JS, JT, JU, K>
impl<'a, JE, JS, JT, JU, K> !Send for UserInfoVerifier<'a, JE, JS, JT, JU, K>
impl<'a, JE, JS, JT, JU, K> !UnwindSafe for UserInfoVerifier<'a, JE, JS, JT, JU, K>
impl<'a, JE, JS, JT, JU, K> !RefUnwindSafe for UserInfoVerifier<'a, JE, JS, JT, JU, K>
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,