Class TokenIssuer
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.TokenIssuer
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<TokenIssuerBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class TokenIssuer extends Object implements io.fabric8.kubernetes.api.builder.Editable<TokenIssuerBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TokenIssuer()No args constructor for use in serializationTokenIssuer(List<String> audiences, ConfigMapNameReference issuerCertificateAuthority, String issuerURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TokenIssuerBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getAudiences()audiences is a required field that configures the acceptable audiences the JWT token, issued by the identity provider, must be issued to.ConfigMapNameReferencegetIssuerCertificateAuthority()StringgetIssuerURL()issuerURL is a required field that configures the URL used to issue tokens by the identity provider.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAudiences(List<String> audiences)audiences is a required field that configures the acceptable audiences the JWT token, issued by the identity provider, must be issued to.voidsetIssuerCertificateAuthority(ConfigMapNameReference issuerCertificateAuthority)voidsetIssuerURL(String issuerURL)issuerURL is a required field that configures the URL used to issue tokens by the identity provider.TokenIssuerBuildertoBuilder()
-
-
-
Constructor Detail
-
TokenIssuer
public TokenIssuer()
No args constructor for use in serialization
-
TokenIssuer
public TokenIssuer(List<String> audiences, ConfigMapNameReference issuerCertificateAuthority, String issuerURL)
-
-
Method Detail
-
getAudiences
public List<String> getAudiences()
audiences is a required field that configures the acceptable audiences the JWT token, issued by the identity provider, must be issued to. At least one of the entries must match the 'aud' claim in the JWT token.audiences must contain at least one entry and must not exceed ten entries.
-
setAudiences
public void setAudiences(List<String> audiences)
audiences is a required field that configures the acceptable audiences the JWT token, issued by the identity provider, must be issued to. At least one of the entries must match the 'aud' claim in the JWT token.audiences must contain at least one entry and must not exceed ten entries.
-
getIssuerCertificateAuthority
public ConfigMapNameReference getIssuerCertificateAuthority()
-
setIssuerCertificateAuthority
public void setIssuerCertificateAuthority(ConfigMapNameReference issuerCertificateAuthority)
-
getIssuerURL
public String getIssuerURL()
issuerURL is a required field that configures the URL used to issue tokens by the identity provider. The Kubernetes API server determines how authentication tokens should be handled by matching the 'iss' claim in the JWT to the issuerURL of configured identity providers.Must be at least 1 character and must not exceed 512 characters in length. Must be a valid URL that uses the 'https' scheme and does not contain a query, fragment or user.
-
setIssuerURL
public void setIssuerURL(String issuerURL)
issuerURL is a required field that configures the URL used to issue tokens by the identity provider. The Kubernetes API server determines how authentication tokens should be handled by matching the 'iss' claim in the JWT to the issuerURL of configured identity providers.Must be at least 1 character and must not exceed 512 characters in length. Must be a valid URL that uses the 'https' scheme and does not contain a query, fragment or user.
-
edit
public TokenIssuerBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<TokenIssuerBuilder>
-
toBuilder
public TokenIssuerBuilder toBuilder()
-
-