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