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