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