Class GitHubIdentityProvider
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.GitHubIdentityProvider
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GitHubIdentityProviderBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GitHubIdentityProvider extends Object implements io.fabric8.kubernetes.api.builder.Editable<GitHubIdentityProviderBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GitHubIdentityProvider provides identities for users authenticating using GitHub credentials- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GitHubIdentityProvider()No args constructor for use in serializationGitHubIdentityProvider(ConfigMapNameReference ca, String clientID, SecretNameReference clientSecret, String hostname, List<String> organizations, List<String> teams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitHubIdentityProviderBuilderedit()Map<String,Object>getAdditionalProperties()ConfigMapNameReferencegetCa()GitHubIdentityProvider provides identities for users authenticating using GitHub credentialsStringgetClientID()clientID is the oauth client IDSecretNameReferencegetClientSecret()GitHubIdentityProvider provides identities for users authenticating using GitHub credentialsStringgetHostname()hostname is the optional domain (e.g.List<String>getOrganizations()organizations optionally restricts which organizations are allowed to log inList<String>getTeams()teams optionally restricts which teams are allowed to log in.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCa(ConfigMapNameReference ca)GitHubIdentityProvider provides identities for users authenticating using GitHub credentialsvoidsetClientID(String clientID)clientID is the oauth client IDvoidsetClientSecret(SecretNameReference clientSecret)GitHubIdentityProvider provides identities for users authenticating using GitHub credentialsvoidsetHostname(String hostname)hostname is the optional domain (e.g.voidsetOrganizations(List<String> organizations)organizations optionally restricts which organizations are allowed to log invoidsetTeams(List<String> teams)teams optionally restricts which teams are allowed to log in.GitHubIdentityProviderBuildertoBuilder()
-
-
-
Constructor Detail
-
GitHubIdentityProvider
public GitHubIdentityProvider()
No args constructor for use in serialization
-
GitHubIdentityProvider
public GitHubIdentityProvider(ConfigMapNameReference ca, String clientID, SecretNameReference clientSecret, String hostname, List<String> organizations, List<String> teams)
-
-
Method Detail
-
getCa
public ConfigMapNameReference getCa()
GitHubIdentityProvider provides identities for users authenticating using GitHub credentials
-
setCa
public void setCa(ConfigMapNameReference ca)
GitHubIdentityProvider provides identities for users authenticating using GitHub credentials
-
getClientID
public String getClientID()
clientID is the oauth client ID
-
setClientID
public void setClientID(String clientID)
clientID is the oauth client ID
-
getClientSecret
public SecretNameReference getClientSecret()
GitHubIdentityProvider provides identities for users authenticating using GitHub credentials
-
setClientSecret
public void setClientSecret(SecretNameReference clientSecret)
GitHubIdentityProvider provides identities for users authenticating using GitHub credentials
-
getHostname
public String getHostname()
hostname is the optional domain (e.g. "mycompany.com") for use with a hosted instance of GitHub Enterprise. It must match the GitHub Enterprise settings value configured at /setup/settings#hostname.
-
setHostname
public void setHostname(String hostname)
hostname is the optional domain (e.g. "mycompany.com") for use with a hosted instance of GitHub Enterprise. It must match the GitHub Enterprise settings value configured at /setup/settings#hostname.
-
getOrganizations
public List<String> getOrganizations()
organizations optionally restricts which organizations are allowed to log in
-
setOrganizations
public void setOrganizations(List<String> organizations)
organizations optionally restricts which organizations are allowed to log in
-
getTeams
public List<String> getTeams()
teams optionally restricts which teams are allowed to log in. Format is <org>/<team>.
-
setTeams
public void setTeams(List<String> teams)
teams optionally restricts which teams are allowed to log in. Format is <org>/<team>.
-
edit
public GitHubIdentityProviderBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GitHubIdentityProviderBuilder>
-
toBuilder
public GitHubIdentityProviderBuilder toBuilder()
-
-