Class OpenIDClaims
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.OpenIDClaims
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<OpenIDClaimsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class OpenIDClaims extends Object implements io.fabric8.kubernetes.api.builder.Editable<OpenIDClaimsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
OpenIDClaims contains a list of OpenID claims to use when authenticating with an OpenID identity provider- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenIDClaims()No args constructor for use in serializationOpenIDClaims(List<String> email, List<String> groups, List<String> name, List<String> preferredUsername)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenIDClaimsBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getEmail()email is the list of claims whose values should be used as the email address.List<String>getGroups()groups is the list of claims value of which should be used to synchronize groups from the OIDC provider to OpenShift for the user.List<String>getName()name is the list of claims whose values should be used as the display name.List<String>getPreferredUsername()preferredUsername is the list of claims whose values should be used as the preferred username.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetEmail(List<String> email)email is the list of claims whose values should be used as the email address.voidsetGroups(List<String> groups)groups is the list of claims value of which should be used to synchronize groups from the OIDC provider to OpenShift for the user.voidsetName(List<String> name)name is the list of claims whose values should be used as the display name.voidsetPreferredUsername(List<String> preferredUsername)preferredUsername is the list of claims whose values should be used as the preferred username.OpenIDClaimsBuildertoBuilder()
-
-
-
Method Detail
-
getEmail
public List<String> getEmail()
email is the list of claims whose values should be used as the email address. Optional. If unspecified, no email is set for the identity
-
setEmail
public void setEmail(List<String> email)
email is the list of claims whose values should be used as the email address. Optional. If unspecified, no email is set for the identity
-
getGroups
public List<String> getGroups()
groups is the list of claims value of which should be used to synchronize groups from the OIDC provider to OpenShift for the user. If multiple claims are specified, the first one with a non-empty value is used.
-
setGroups
public void setGroups(List<String> groups)
groups is the list of claims value of which should be used to synchronize groups from the OIDC provider to OpenShift for the user. If multiple claims are specified, the first one with a non-empty value is used.
-
getName
public List<String> getName()
name is the list of claims whose values should be used as the display name. Optional. If unspecified, no display name is set for the identity
-
setName
public void setName(List<String> name)
name is the list of claims whose values should be used as the display name. Optional. If unspecified, no display name is set for the identity
-
getPreferredUsername
public List<String> getPreferredUsername()
preferredUsername is the list of claims whose values should be used as the preferred username. If unspecified, the preferred username is determined from the value of the sub claim
-
setPreferredUsername
public void setPreferredUsername(List<String> preferredUsername)
preferredUsername is the list of claims whose values should be used as the preferred username. If unspecified, the preferred username is determined from the value of the sub claim
-
edit
public OpenIDClaimsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<OpenIDClaimsBuilder>
-
toBuilder
public OpenIDClaimsBuilder toBuilder()
-
-