Interface OpenIdConnectTokenSelectionDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OpenIdConnectTokenSelectionDetail.Builder,
,OpenIdConnectTokenSelectionDetail> SdkBuilder<OpenIdConnectTokenSelectionDetail.Builder,
,OpenIdConnectTokenSelectionDetail> SdkPojo
- Enclosing class:
OpenIdConnectTokenSelectionDetail
-
Method Summary
Modifier and TypeMethodDescriptionaccessTokenOnly
(Consumer<OpenIdConnectAccessTokenConfigurationDetail.Builder> accessTokenOnly) The OIDC configuration for processing access tokens.accessTokenOnly
(OpenIdConnectAccessTokenConfigurationDetail accessTokenOnly) The OIDC configuration for processing access tokens.identityTokenOnly
(Consumer<OpenIdConnectIdentityTokenConfigurationDetail.Builder> identityTokenOnly) The OIDC configuration for processing identity (ID) tokens.identityTokenOnly
(OpenIdConnectIdentityTokenConfigurationDetail identityTokenOnly) The OIDC configuration for processing identity (ID) tokens.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accessTokenOnly
OpenIdConnectTokenSelectionDetail.Builder accessTokenOnly(OpenIdConnectAccessTokenConfigurationDetail accessTokenOnly) The OIDC configuration for processing access tokens. Contains allowed audience claims, for example
https://auth.example.com
, and the claim that you want to map to the principal, for examplesub
.- Parameters:
accessTokenOnly
- The OIDC configuration for processing access tokens. Contains allowed audience claims, for examplehttps://auth.example.com
, and the claim that you want to map to the principal, for examplesub
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessTokenOnly
default OpenIdConnectTokenSelectionDetail.Builder accessTokenOnly(Consumer<OpenIdConnectAccessTokenConfigurationDetail.Builder> accessTokenOnly) The OIDC configuration for processing access tokens. Contains allowed audience claims, for example
This is a convenience method that creates an instance of thehttps://auth.example.com
, and the claim that you want to map to the principal, for examplesub
.OpenIdConnectAccessTokenConfigurationDetail.Builder
avoiding the need to create one manually viaOpenIdConnectAccessTokenConfigurationDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessTokenOnly(OpenIdConnectAccessTokenConfigurationDetail)
.- Parameters:
accessTokenOnly
- a consumer that will call methods onOpenIdConnectAccessTokenConfigurationDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identityTokenOnly
OpenIdConnectTokenSelectionDetail.Builder identityTokenOnly(OpenIdConnectIdentityTokenConfigurationDetail identityTokenOnly) The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example
1example23456789
, and the claim that you want to map to the principal, for examplesub
.- Parameters:
identityTokenOnly
- The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example1example23456789
, and the claim that you want to map to the principal, for examplesub
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityTokenOnly
default OpenIdConnectTokenSelectionDetail.Builder identityTokenOnly(Consumer<OpenIdConnectIdentityTokenConfigurationDetail.Builder> identityTokenOnly) The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example
This is a convenience method that creates an instance of the1example23456789
, and the claim that you want to map to the principal, for examplesub
.OpenIdConnectIdentityTokenConfigurationDetail.Builder
avoiding the need to create one manually viaOpenIdConnectIdentityTokenConfigurationDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toidentityTokenOnly(OpenIdConnectIdentityTokenConfigurationDetail)
.- Parameters:
identityTokenOnly
- a consumer that will call methods onOpenIdConnectIdentityTokenConfigurationDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-