public class GitHubAppCredentials
extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
implements com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials
Modifier and Type | Class and Description |
---|---|
static class |
GitHubAppCredentials.DescriptorImpl |
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor
com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials.NameProvider
com.cloudbees.plugins.credentials.common.IdCredentials.Helpers
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
GitHubAppCredentials(com.cloudbees.plugins.credentials.CredentialsScope scope,
String id,
String description,
String appID,
Secret privateKey) |
Modifier and Type | Method and Description |
---|---|
String |
getApiUri() |
String |
getAppID() |
String |
getOwner()
Owner of this installation, i.e.
|
Secret |
getPassword() |
Secret |
getPrivateKey() |
String |
getUsername() |
void |
setApiUri(String apiUri) |
void |
setOwner(String owner) |
equals, getDescription, getId, hashCode
getDescriptor, getScope
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
public String getApiUri()
@DataBoundSetter public void setApiUri(String apiUri)
@NonNull public String getAppID()
@NonNull public Secret getPrivateKey()
@CheckForNull public String getOwner()
@DataBoundSetter public void setOwner(String owner)
@NonNull public Secret getPassword()
getPassword
in interface com.cloudbees.plugins.credentials.common.PasswordCredentials
@NonNull public String getUsername()
getUsername
in interface com.cloudbees.plugins.credentials.common.UsernameCredentials
Copyright © 2016–2020. All rights reserved.