Interface OpenIdConnectConfiguration.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<OpenIdConnectConfiguration.Builder,,- OpenIdConnectConfiguration> - SdkBuilder<OpenIdConnectConfiguration.Builder,,- OpenIdConnectConfiguration> - SdkPojo
- Enclosing class:
- OpenIdConnectConfiguration
- 
Method SummaryModifier and TypeMethodDescriptionentityIdPrefix(String entityIdPrefix) A descriptive string that you want to prefix to user entities from your OIDC identity provider.groupConfiguration(Consumer<OpenIdConnectGroupConfiguration.Builder> groupConfiguration) 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.groupConfiguration(OpenIdConnectGroupConfiguration groupConfiguration) 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.The issuer URL of an OIDC identity provider.tokenSelection(Consumer<OpenIdConnectTokenSelection.Builder> tokenSelection) The token type that you want to process from your OIDC identity provider.tokenSelection(OpenIdConnectTokenSelection tokenSelection) The token type that you want to process from your OIDC identity provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
issuerThe issuer URL of an OIDC identity provider. This URL must have an OIDC discovery endpoint at the path .well-known/openid-configuration.- Parameters:
- issuer- The issuer URL of an OIDC identity provider. This URL must have an OIDC discovery endpoint at the path- .well-known/openid-configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
entityIdPrefixA descriptive string that you want to prefix to user entities from your OIDC identity provider. For example, if you set an entityIdPrefixofMyOIDCProvider, you can reference principals in your policies in the formatMyCorp::User::MyOIDCProvider|Carlos.- Parameters:
- entityIdPrefix- A descriptive string that you want to prefix to user entities from your OIDC identity provider. For example, if you set an- entityIdPrefixof- MyOIDCProvider, you can reference principals in your policies in the format- MyCorp::User::MyOIDCProvider|Carlos.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
groupConfigurationOpenIdConnectConfiguration.Builder groupConfiguration(OpenIdConnectGroupConfiguration groupConfiguration) 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 groupsclaim toMyCorp::UserGroup.- Parameters:
- groupConfiguration- 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- groupsclaim to- MyCorp::UserGroup.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
groupConfigurationdefault OpenIdConnectConfiguration.Builder groupConfiguration(Consumer<OpenIdConnectGroupConfiguration.Builder> groupConfiguration) 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 This is a convenience method that creates an instance of thegroupsclaim toMyCorp::UserGroup.OpenIdConnectGroupConfiguration.Builderavoiding the need to create one manually viaOpenIdConnectGroupConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroupConfiguration(OpenIdConnectGroupConfiguration).- Parameters:
- groupConfiguration- a consumer that will call methods on- OpenIdConnectGroupConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tokenSelectionThe 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. - Parameters:
- tokenSelection- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tokenSelectiondefault OpenIdConnectConfiguration.Builder tokenSelection(Consumer<OpenIdConnectTokenSelection.Builder> tokenSelection) 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 is a convenience method that creates an instance of theOpenIdConnectTokenSelection.Builderavoiding the need to create one manually viaOpenIdConnectTokenSelection.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totokenSelection(OpenIdConnectTokenSelection).- Parameters:
- tokenSelection- a consumer that will call methods on- OpenIdConnectTokenSelection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-