Class PrefixedClaimMapping
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.PrefixedClaimMapping
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PrefixedClaimMappingBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PrefixedClaimMapping extends Object implements io.fabric8.kubernetes.api.builder.Editable<PrefixedClaimMappingBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrefixedClaimMapping()No args constructor for use in serializationPrefixedClaimMapping(String claim, String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrefixedClaimMappingBuilderedit()Map<String,Object>getAdditionalProperties()StringgetClaim()claim is a JWT token claim to be used in the mappingStringgetPrefix()prefix is a string to prefix the value from the token in the result of the claim mapping.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClaim(String claim)claim is a JWT token claim to be used in the mappingvoidsetPrefix(String prefix)prefix is a string to prefix the value from the token in the result of the claim mapping.PrefixedClaimMappingBuildertoBuilder()
-
-
-
Method Detail
-
getClaim
public String getClaim()
claim is a JWT token claim to be used in the mapping
-
setClaim
public void setClaim(String claim)
claim is a JWT token claim to be used in the mapping
-
getPrefix
public String getPrefix()
prefix is a string to prefix the value from the token in the result of the claim mapping.By default, no prefixing occurs.
Example: if `prefix` is set to "myoidc:"" and the `claim` in JWT contains an array of strings "a", "b" and "c", the mapping will result in an array of string "myoidc:a", "myoidc:b" and "myoidc:c".
-
setPrefix
public void setPrefix(String prefix)
prefix is a string to prefix the value from the token in the result of the claim mapping.By default, no prefixing occurs.
Example: if `prefix` is set to "myoidc:"" and the `claim` in JWT contains an array of strings "a", "b" and "c", the mapping will result in an array of string "myoidc:a", "myoidc:b" and "myoidc:c".
-
edit
public PrefixedClaimMappingBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PrefixedClaimMappingBuilder>
-
toBuilder
public PrefixedClaimMappingBuilder toBuilder()
-
-