Struct aws_sdk_verifiedpermissions::types::builders::UpdateOpenIdConnectConfigurationBuilder
source · #[non_exhaustive]pub struct UpdateOpenIdConnectConfigurationBuilder { /* private fields */ }Expand description
A builder for UpdateOpenIdConnectConfiguration.
Implementations§
source§impl UpdateOpenIdConnectConfigurationBuilder
impl UpdateOpenIdConnectConfigurationBuilder
sourcepub fn issuer(self, input: impl Into<String>) -> Self
pub fn issuer(self, input: impl Into<String>) -> Self
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 set_issuer(self, input: Option<String>) -> Self
pub fn set_issuer(self, input: Option<String>) -> Self
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 get_issuer(&self) -> &Option<String>
pub fn get_issuer(&self) -> &Option<String>
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, input: impl Into<String>) -> Self
pub fn entity_id_prefix(self, input: impl Into<String>) -> Self
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 set_entity_id_prefix(self, input: Option<String>) -> Self
pub fn set_entity_id_prefix(self, input: Option<String>) -> Self
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 get_entity_id_prefix(&self) -> &Option<String>
pub fn get_entity_id_prefix(&self) -> &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.
sourcepub fn group_configuration(
self,
input: UpdateOpenIdConnectGroupConfiguration,
) -> Self
pub fn group_configuration( self, input: UpdateOpenIdConnectGroupConfiguration, ) -> Self
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 set_group_configuration(
self,
input: Option<UpdateOpenIdConnectGroupConfiguration>,
) -> Self
pub fn set_group_configuration( self, input: Option<UpdateOpenIdConnectGroupConfiguration>, ) -> Self
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 get_group_configuration(
&self,
) -> &Option<UpdateOpenIdConnectGroupConfiguration>
pub fn get_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, input: UpdateOpenIdConnectTokenSelection) -> Self
pub fn token_selection(self, input: UpdateOpenIdConnectTokenSelection) -> Self
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.
This field is required.sourcepub fn set_token_selection(
self,
input: Option<UpdateOpenIdConnectTokenSelection>,
) -> Self
pub fn set_token_selection( self, input: Option<UpdateOpenIdConnectTokenSelection>, ) -> Self
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.
sourcepub fn get_token_selection(&self) -> &Option<UpdateOpenIdConnectTokenSelection>
pub fn get_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.
sourcepub fn build(self) -> Result<UpdateOpenIdConnectConfiguration, BuildError>
pub fn build(self) -> Result<UpdateOpenIdConnectConfiguration, BuildError>
Consumes the builder and constructs a UpdateOpenIdConnectConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateOpenIdConnectConfigurationBuilder
impl Clone for UpdateOpenIdConnectConfigurationBuilder
source§fn clone(&self) -> UpdateOpenIdConnectConfigurationBuilder
fn clone(&self) -> UpdateOpenIdConnectConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateOpenIdConnectConfigurationBuilder
impl Default for UpdateOpenIdConnectConfigurationBuilder
source§fn default() -> UpdateOpenIdConnectConfigurationBuilder
fn default() -> UpdateOpenIdConnectConfigurationBuilder
source§impl PartialEq for UpdateOpenIdConnectConfigurationBuilder
impl PartialEq for UpdateOpenIdConnectConfigurationBuilder
source§fn eq(&self, other: &UpdateOpenIdConnectConfigurationBuilder) -> bool
fn eq(&self, other: &UpdateOpenIdConnectConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateOpenIdConnectConfigurationBuilder
Auto Trait Implementations§
impl Freeze for UpdateOpenIdConnectConfigurationBuilder
impl RefUnwindSafe for UpdateOpenIdConnectConfigurationBuilder
impl Send for UpdateOpenIdConnectConfigurationBuilder
impl Sync for UpdateOpenIdConnectConfigurationBuilder
impl Unpin for UpdateOpenIdConnectConfigurationBuilder
impl UnwindSafe for UpdateOpenIdConnectConfigurationBuilder
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