#[non_exhaustive]pub struct OpenIdConnectIdentityTokenConfigurationItem {
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 OpenIdConnectTokenSelectionItem structure, which is a parameter of ListIdentitySources.
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 OpenIdConnectIdentityTokenConfigurationItem
impl OpenIdConnectIdentityTokenConfigurationItem
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 OpenIdConnectIdentityTokenConfigurationItem
impl OpenIdConnectIdentityTokenConfigurationItem
sourcepub fn builder() -> OpenIdConnectIdentityTokenConfigurationItemBuilder
pub fn builder() -> OpenIdConnectIdentityTokenConfigurationItemBuilder
Creates a new builder-style object to manufacture OpenIdConnectIdentityTokenConfigurationItem.
Trait Implementations§
source§impl Clone for OpenIdConnectIdentityTokenConfigurationItem
impl Clone for OpenIdConnectIdentityTokenConfigurationItem
source§fn clone(&self) -> OpenIdConnectIdentityTokenConfigurationItem
fn clone(&self) -> OpenIdConnectIdentityTokenConfigurationItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for OpenIdConnectIdentityTokenConfigurationItem
impl PartialEq for OpenIdConnectIdentityTokenConfigurationItem
source§fn eq(&self, other: &OpenIdConnectIdentityTokenConfigurationItem) -> bool
fn eq(&self, other: &OpenIdConnectIdentityTokenConfigurationItem) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OpenIdConnectIdentityTokenConfigurationItem
Auto Trait Implementations§
impl Freeze for OpenIdConnectIdentityTokenConfigurationItem
impl RefUnwindSafe for OpenIdConnectIdentityTokenConfigurationItem
impl Send for OpenIdConnectIdentityTokenConfigurationItem
impl Sync for OpenIdConnectIdentityTokenConfigurationItem
impl Unpin for OpenIdConnectIdentityTokenConfigurationItem
impl UnwindSafe for OpenIdConnectIdentityTokenConfigurationItem
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> 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