#[non_exhaustive]pub struct OpenIdConnectConfigurationItem {
pub issuer: String,
pub entity_id_prefix: Option<String>,
pub group_configuration: Option<OpenIdConnectGroupConfigurationItem>,
pub token_selection: Option<OpenIdConnectTokenSelectionItem>,
}Expand description
Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.
This data type is part of a ConfigurationItem structure, which is a parameter to 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.issuer: StringThe issuer URL of an OIDC identity provider. This URL must have an OIDC discovery endpoint at the path .well-known/openid-configuration.
entity_id_prefix: Option<String>A descriptive string that you want to prefix to user entities from your OIDC identity provider. For example, if you set an entityIdPrefix of MyOIDCProvider, you can reference principals in your policies in the format MyCorp::User::MyOIDCProvider|Carlos.
group_configuration: Option<OpenIdConnectGroupConfigurationItem>The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of a groups claim to MyCorp::UserGroup.
token_selection: Option<OpenIdConnectTokenSelectionItem>The token type that you want to process from your OIDC identity provider. Your policy store can process either identity (ID) or access tokens from a given OIDC identity source.
Implementations§
source§impl OpenIdConnectConfigurationItem
impl OpenIdConnectConfigurationItem
sourcepub fn issuer(&self) -> &str
pub fn issuer(&self) -> &str
The issuer URL of an OIDC identity provider. This URL must have an OIDC discovery endpoint at the path .well-known/openid-configuration.
sourcepub fn entity_id_prefix(&self) -> Option<&str>
pub fn entity_id_prefix(&self) -> Option<&str>
A descriptive string that you want to prefix to user entities from your OIDC identity provider. For example, if you set an entityIdPrefix of MyOIDCProvider, you can reference principals in your policies in the format MyCorp::User::MyOIDCProvider|Carlos.
sourcepub fn group_configuration(
&self,
) -> Option<&OpenIdConnectGroupConfigurationItem>
pub fn group_configuration( &self, ) -> Option<&OpenIdConnectGroupConfigurationItem>
The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of a groups claim to MyCorp::UserGroup.
sourcepub fn token_selection(&self) -> Option<&OpenIdConnectTokenSelectionItem>
pub fn token_selection(&self) -> Option<&OpenIdConnectTokenSelectionItem>
The token type that you want to process from your OIDC identity provider. Your policy store can process either identity (ID) or access tokens from a given OIDC identity source.
source§impl OpenIdConnectConfigurationItem
impl OpenIdConnectConfigurationItem
sourcepub fn builder() -> OpenIdConnectConfigurationItemBuilder
pub fn builder() -> OpenIdConnectConfigurationItemBuilder
Creates a new builder-style object to manufacture OpenIdConnectConfigurationItem.
Trait Implementations§
source§impl Clone for OpenIdConnectConfigurationItem
impl Clone for OpenIdConnectConfigurationItem
source§fn clone(&self) -> OpenIdConnectConfigurationItem
fn clone(&self) -> OpenIdConnectConfigurationItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for OpenIdConnectConfigurationItem
impl PartialEq for OpenIdConnectConfigurationItem
source§fn eq(&self, other: &OpenIdConnectConfigurationItem) -> bool
fn eq(&self, other: &OpenIdConnectConfigurationItem) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OpenIdConnectConfigurationItem
Auto Trait Implementations§
impl Freeze for OpenIdConnectConfigurationItem
impl RefUnwindSafe for OpenIdConnectConfigurationItem
impl Send for OpenIdConnectConfigurationItem
impl Sync for OpenIdConnectConfigurationItem
impl Unpin for OpenIdConnectConfigurationItem
impl UnwindSafe for OpenIdConnectConfigurationItem
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