#[non_exhaustive]pub struct UpdateOpenIdConnectIdentityTokenConfiguration {
pub principal_id_claim: String,
pub client_ids: Option<Vec<String>>,
}Expand description
The configuration of an OpenID Connect (OIDC) identity source for handling identity (ID) token claims. Contains the claim that you want to identify as the principal in an authorization request, and the values of the aud claim, or audiences, that you want to accept.
This data type is part of a UpdateOpenIdConnectTokenSelection structure, which is a parameter to UpdateIdentitySource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.principal_id_claim: StringThe claim that determines the principal in OIDC access tokens. For example, sub.
client_ids: Option<Vec<String>>The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider. For example, 1example23456789, 2example10111213.
Implementations§
source§impl UpdateOpenIdConnectIdentityTokenConfiguration
impl UpdateOpenIdConnectIdentityTokenConfiguration
sourcepub fn principal_id_claim(&self) -> &str
pub fn principal_id_claim(&self) -> &str
The claim that determines the principal in OIDC access tokens. For example, sub.
sourcepub fn client_ids(&self) -> &[String]
pub fn client_ids(&self) -> &[String]
The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider. For example, 1example23456789, 2example10111213.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .client_ids.is_none().
source§impl UpdateOpenIdConnectIdentityTokenConfiguration
impl UpdateOpenIdConnectIdentityTokenConfiguration
sourcepub fn builder() -> UpdateOpenIdConnectIdentityTokenConfigurationBuilder
pub fn builder() -> UpdateOpenIdConnectIdentityTokenConfigurationBuilder
Creates a new builder-style object to manufacture UpdateOpenIdConnectIdentityTokenConfiguration.
Trait Implementations§
source§impl Clone for UpdateOpenIdConnectIdentityTokenConfiguration
impl Clone for UpdateOpenIdConnectIdentityTokenConfiguration
source§fn clone(&self) -> UpdateOpenIdConnectIdentityTokenConfiguration
fn clone(&self) -> UpdateOpenIdConnectIdentityTokenConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateOpenIdConnectIdentityTokenConfiguration
impl PartialEq for UpdateOpenIdConnectIdentityTokenConfiguration
source§fn eq(&self, other: &UpdateOpenIdConnectIdentityTokenConfiguration) -> bool
fn eq(&self, other: &UpdateOpenIdConnectIdentityTokenConfiguration) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateOpenIdConnectIdentityTokenConfiguration
Auto Trait Implementations§
impl Freeze for UpdateOpenIdConnectIdentityTokenConfiguration
impl RefUnwindSafe for UpdateOpenIdConnectIdentityTokenConfiguration
impl Send for UpdateOpenIdConnectIdentityTokenConfiguration
impl Sync for UpdateOpenIdConnectIdentityTokenConfiguration
impl Unpin for UpdateOpenIdConnectIdentityTokenConfiguration
impl UnwindSafe for UpdateOpenIdConnectIdentityTokenConfiguration
Blanket Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more