Class TokenRequiredClaim
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.TokenRequiredClaim
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<TokenRequiredClaimBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class TokenRequiredClaim extends Object implements io.fabric8.kubernetes.api.builder.Editable<TokenRequiredClaimBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TokenRequiredClaim()No args constructor for use in serializationTokenRequiredClaim(String claim, String requiredValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenRequiredClaimBuilderedit()Map<String,Object>getAdditionalProperties()StringgetClaim()claim is a required field that configures the name of the required claim.StringgetRequiredValue()requiredValue is a required field that configures the value that 'claim' must have when taken from the incoming JWT claims.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClaim(String claim)claim is a required field that configures the name of the required claim.voidsetRequiredValue(String requiredValue)requiredValue is a required field that configures the value that 'claim' must have when taken from the incoming JWT claims.TokenRequiredClaimBuildertoBuilder()
-
-
-
Method Detail
-
getClaim
public String getClaim()
claim is a required field that configures the name of the required claim. When taken from the JWT claims, claim must be a string value.claim must not be an empty string ("").
-
setClaim
public void setClaim(String claim)
claim is a required field that configures the name of the required claim. When taken from the JWT claims, claim must be a string value.claim must not be an empty string ("").
-
getRequiredValue
public String getRequiredValue()
requiredValue is a required field that configures the value that 'claim' must have when taken from the incoming JWT claims. If the value in the JWT claims does not match, the token will be rejected for authentication.requiredValue must not be an empty string ("").
-
setRequiredValue
public void setRequiredValue(String requiredValue)
requiredValue is a required field that configures the value that 'claim' must have when taken from the incoming JWT claims. If the value in the JWT claims does not match, the token will be rejected for authentication.requiredValue must not be an empty string ("").
-
edit
public TokenRequiredClaimBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<TokenRequiredClaimBuilder>
-
toBuilder
public TokenRequiredClaimBuilder toBuilder()
-
-