Interface CustomJWTAuthorizerConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomJWTAuthorizerConfiguration.Builder,,CustomJWTAuthorizerConfiguration> SdkBuilder<CustomJWTAuthorizerConfiguration.Builder,,CustomJWTAuthorizerConfiguration> SdkPojo
- Enclosing class:
CustomJWTAuthorizerConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionallowedAudience(String... allowedAudience) Represents individual audience values that are validated in the incoming JWT token validation process.allowedAudience(Collection<String> allowedAudience) Represents individual audience values that are validated in the incoming JWT token validation process.allowedClients(String... allowedClients) Represents individual client IDs that are validated in the incoming JWT token validation process.allowedClients(Collection<String> allowedClients) Represents individual client IDs that are validated in the incoming JWT token validation process.allowedScopes(String... allowedScopes) An array of scopes that are allowed to access the token.allowedScopes(Collection<String> allowedScopes) An array of scopes that are allowed to access the token.customClaims(Collection<CustomClaimValidationType> customClaims) An array of objects that define a custom claim validation name, value, and operationcustomClaims(Consumer<CustomClaimValidationType.Builder>... customClaims) An array of objects that define a custom claim validation name, value, and operationcustomClaims(CustomClaimValidationType... customClaims) An array of objects that define a custom claim validation name, value, and operationdiscoveryUrl(String discoveryUrl) This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
discoveryUrl
This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.
- Parameters:
discoveryUrl- This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedAudience
Represents individual audience values that are validated in the incoming JWT token validation process.
- Parameters:
allowedAudience- Represents individual audience values that are validated in the incoming JWT token validation process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedAudience
Represents individual audience values that are validated in the incoming JWT token validation process.
- Parameters:
allowedAudience- Represents individual audience values that are validated in the incoming JWT token validation process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedClients
Represents individual client IDs that are validated in the incoming JWT token validation process.
- Parameters:
allowedClients- Represents individual client IDs that are validated in the incoming JWT token validation process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedClients
Represents individual client IDs that are validated in the incoming JWT token validation process.
- Parameters:
allowedClients- Represents individual client IDs that are validated in the incoming JWT token validation process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedScopes
An array of scopes that are allowed to access the token.
- Parameters:
allowedScopes- An array of scopes that are allowed to access the token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedScopes
An array of scopes that are allowed to access the token.
- Parameters:
allowedScopes- An array of scopes that are allowed to access the token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customClaims
CustomJWTAuthorizerConfiguration.Builder customClaims(Collection<CustomClaimValidationType> customClaims) An array of objects that define a custom claim validation name, value, and operation
- Parameters:
customClaims- An array of objects that define a custom claim validation name, value, and operation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customClaims
An array of objects that define a custom claim validation name, value, and operation
- Parameters:
customClaims- An array of objects that define a custom claim validation name, value, and operation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customClaims
CustomJWTAuthorizerConfiguration.Builder customClaims(Consumer<CustomClaimValidationType.Builder>... customClaims) An array of objects that define a custom claim validation name, value, and operation
This is a convenience method that creates an instance of theCustomClaimValidationType.Builderavoiding the need to create one manually viaCustomClaimValidationType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomClaims(List<CustomClaimValidationType>).- Parameters:
customClaims- a consumer that will call methods onCustomClaimValidationType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-