Class OIDCClientConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.OIDCClientConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<OIDCClientConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class OIDCClientConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<OIDCClientConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
OIDCClientConfig configures how platform clients interact with identity providers as an authentication method- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OIDCClientConfig()No args constructor for use in serializationOIDCClientConfig(String clientID, SecretNameReference clientSecret, String componentName, String componentNamespace, List<String> extraScopes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OIDCClientConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetClientID()clientID is a required field that configures the client identifier, from the identity provider, that the platform component uses for authentication requests made to the identity provider.SecretNameReferencegetClientSecret()OIDCClientConfig configures how platform clients interact with identity providers as an authentication methodStringgetComponentName()componentName is a required field that specifies the name of the platform component being configured to use the identity provider as an authentication mode.StringgetComponentNamespace()componentNamespace is a required field that specifies the namespace in which the platform component being configured to use the identity provider as an authentication mode is running.List<String>getExtraScopes()extraScopes is an optional field that configures the extra scopes that should be requested by the platform component when making authentication requests to the identity provider.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClientID(String clientID)clientID is a required field that configures the client identifier, from the identity provider, that the platform component uses for authentication requests made to the identity provider.voidsetClientSecret(SecretNameReference clientSecret)OIDCClientConfig configures how platform clients interact with identity providers as an authentication methodvoidsetComponentName(String componentName)componentName is a required field that specifies the name of the platform component being configured to use the identity provider as an authentication mode.voidsetComponentNamespace(String componentNamespace)componentNamespace is a required field that specifies the namespace in which the platform component being configured to use the identity provider as an authentication mode is running.voidsetExtraScopes(List<String> extraScopes)extraScopes is an optional field that configures the extra scopes that should be requested by the platform component when making authentication requests to the identity provider.OIDCClientConfigBuildertoBuilder()
-
-
-
Method Detail
-
getClientID
public String getClientID()
clientID is a required field that configures the client identifier, from the identity provider, that the platform component uses for authentication requests made to the identity provider. The identity provider must accept this identifier for platform components to be able to use the identity provider as an authentication mode.clientID must not be an empty string ("").
-
setClientID
public void setClientID(String clientID)
clientID is a required field that configures the client identifier, from the identity provider, that the platform component uses for authentication requests made to the identity provider. The identity provider must accept this identifier for platform components to be able to use the identity provider as an authentication mode.clientID must not be an empty string ("").
-
getClientSecret
public SecretNameReference getClientSecret()
OIDCClientConfig configures how platform clients interact with identity providers as an authentication method
-
setClientSecret
public void setClientSecret(SecretNameReference clientSecret)
OIDCClientConfig configures how platform clients interact with identity providers as an authentication method
-
getComponentName
public String getComponentName()
componentName is a required field that specifies the name of the platform component being configured to use the identity provider as an authentication mode. It is used in combination with componentNamespace as a unique identifier.componentName must not be an empty string ("") and must not exceed 256 characters in length.
-
setComponentName
public void setComponentName(String componentName)
componentName is a required field that specifies the name of the platform component being configured to use the identity provider as an authentication mode. It is used in combination with componentNamespace as a unique identifier.componentName must not be an empty string ("") and must not exceed 256 characters in length.
-
getComponentNamespace
public String getComponentNamespace()
componentNamespace is a required field that specifies the namespace in which the platform component being configured to use the identity provider as an authentication mode is running. It is used in combination with componentName as a unique identifier.componentNamespace must not be an empty string ("") and must not exceed 63 characters in length.
-
setComponentNamespace
public void setComponentNamespace(String componentNamespace)
componentNamespace is a required field that specifies the namespace in which the platform component being configured to use the identity provider as an authentication mode is running. It is used in combination with componentName as a unique identifier.componentNamespace must not be an empty string ("") and must not exceed 63 characters in length.
-
getExtraScopes
public List<String> getExtraScopes()
extraScopes is an optional field that configures the extra scopes that should be requested by the platform component when making authentication requests to the identity provider. This is useful if you have configured claim mappings that requires specific scopes to be requested beyond the standard OIDC scopes.When omitted, no additional scopes are requested.
-
setExtraScopes
public void setExtraScopes(List<String> extraScopes)
extraScopes is an optional field that configures the extra scopes that should be requested by the platform component when making authentication requests to the identity provider. This is useful if you have configured claim mappings that requires specific scopes to be requested beyond the standard OIDC scopes.When omitted, no additional scopes are requested.
-
edit
public OIDCClientConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<OIDCClientConfigBuilder>
-
toBuilder
public OIDCClientConfigBuilder toBuilder()
-
-