Interface JwtAdditionalClaim.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JwtAdditionalClaim.Builder,,JwtAdditionalClaim> SdkBuilder<JwtAdditionalClaim.Builder,,JwtAdditionalClaim> SdkPojo
- Enclosing class:
JwtAdditionalClaim
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the claim to check.expectedValues(String... expectedValues) The accepted value for the claim.expectedValues(Collection<String> expectedValues) The accepted value for the claim.The format of the claim value.format(JwtClaimFormat format) The format of the claim value.Specifies whether the claim must be present in the token.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
-
claimName
The name of the claim to check. The value cannot be empty and cannot be
iss,aud,exp,nbf,iat,scope, orscp.- Parameters:
claimName- The name of the claim to check. The value cannot be empty and cannot beiss,aud,exp,nbf,iat,scope, orscp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
The format of the claim value. The only valid value is
SINGLE_STRING.- Parameters:
format- The format of the claim value. The only valid value isSINGLE_STRING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the claim value. The only valid value is
SINGLE_STRING.- Parameters:
format- The format of the claim value. The only valid value isSINGLE_STRING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
required
Specifies whether the claim must be present in the token. Defaults to
false. Whentrue, the token must contain the claim.- Parameters:
required- Specifies whether the claim must be present in the token. Defaults tofalse. Whentrue, the token must contain the claim.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedValues
The accepted value for the claim. The value cannot be empty. When a value is specified, the claim must match it exactly, and the match is case-sensitive. When no value is specified, the claim only has to be present.
- Parameters:
expectedValues- The accepted value for the claim. The value cannot be empty. When a value is specified, the claim must match it exactly, and the match is case-sensitive. When no value is specified, the claim only has to be present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedValues
The accepted value for the claim. The value cannot be empty. When a value is specified, the claim must match it exactly, and the match is case-sensitive. When no value is specified, the claim only has to be present.
- Parameters:
expectedValues- The accepted value for the claim. The value cannot be empty. When a value is specified, the claim must match it exactly, and the match is case-sensitive. When no value is specified, the claim only has to be present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-