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