pub struct GenericOAuthProfileContext<'a> { /* private fields */ }Expand description
Borrowed runtime inputs for a Generic OAuth profile lookup.
Implementations§
Source§impl<'a> GenericOAuthProfileContext<'a>
impl<'a> GenericOAuthProfileContext<'a>
Sourcepub fn client_id(&self) -> &'a str
pub fn client_id(&self) -> &'a str
Read the client identifier from the resolved provider configuration.
Sourcepub fn expected_nonce(&self) -> Option<&'a str>
pub fn expected_nonce(&self) -> Option<&'a str>
Read the nonce bound to this flow, when the caller supplied one.
Sourcepub fn user_info_url(&self) -> Option<&'a str>
pub fn user_info_url(&self) -> Option<&'a str>
Read the resolved userinfo endpoint.
Sourcepub fn verified_claims(&self) -> Option<&VerifiedOAuthClaims<'a>>
pub fn verified_claims(&self) -> Option<&VerifiedOAuthClaims<'a>>
Read claims that passed the configured OIDC signature and claim validation.
Auto Trait Implementations§
impl<'a> Freeze for GenericOAuthProfileContext<'a>
impl<'a> RefUnwindSafe for GenericOAuthProfileContext<'a>
impl<'a> Send for GenericOAuthProfileContext<'a>
impl<'a> Sync for GenericOAuthProfileContext<'a>
impl<'a> Unpin for GenericOAuthProfileContext<'a>
impl<'a> UnsafeUnpin for GenericOAuthProfileContext<'a>
impl<'a> UnwindSafe for GenericOAuthProfileContext<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more