public class AdobeIOProjectConfig extends AbstractDescribableImpl<AdobeIOProjectConfig>
Provides wrapper/convenience for interactions with IMS's API.
Modifier and Type | Class and Description |
---|---|
static class |
AdobeIOProjectConfig.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static String |
ADOBE_IO_DOMAIN
For filtering out Credentials for the dropdown.
|
static String |
ADOBE_IO_URL
Default IMS API endpoint.
|
Constructor and Description |
---|
AdobeIOProjectConfig() |
Modifier and Type | Method and Description |
---|---|
Secret |
authenticate()
Attempts to authenticate to the Adobe IO project and return an Access Token.
|
static com.cloudbees.plugins.credentials.domains.DomainRequirement |
getAIODomainRequirement() |
String |
getApiUrl() |
String |
getClientId() |
String |
getClientSecretCredentialsId() |
String |
getDisplayName() |
String |
getImsOrganizationId() |
String |
getName() |
String |
getPrivateKeyCredentialsId() |
String |
getTechnicalAccountId() |
void |
setApiUrl(String apiUrl) |
void |
setClientId(String clientId) |
void |
setClientSecretCredentialsId(String clientSecretCredentialsId) |
void |
setImsOrganizationId(String imsOrganizationId) |
void |
setName(String name) |
void |
setPrivateKeyCredentialsId(String privateKeyCredentialsId) |
void |
setTechnicalAccountId(String technicalAccountId) |
getDescriptor
public static final String ADOBE_IO_DOMAIN
public static final String ADOBE_IO_URL
public static com.cloudbees.plugins.credentials.domains.DomainRequirement getAIODomainRequirement()
@CheckForNull public String getName()
@DataBoundSetter public void setName(String name)
@CheckForNull public String getApiUrl()
@DataBoundSetter public void setApiUrl(String apiUrl)
@CheckForNull public String getClientId()
@DataBoundSetter public void setClientId(String clientId)
@CheckForNull public String getImsOrganizationId()
@DataBoundSetter public void setImsOrganizationId(String imsOrganizationId)
@CheckForNull public String getTechnicalAccountId()
@DataBoundSetter public void setTechnicalAccountId(String technicalAccountId)
@CheckForNull public String getClientSecretCredentialsId()
@DataBoundSetter public void setClientSecretCredentialsId(String clientSecretCredentialsId)
@CheckForNull public String getPrivateKeyCredentialsId()
@DataBoundSetter public void setPrivateKeyCredentialsId(String privateKeyCredentialsId)
@CheckForNull public Secret authenticate()
null
if authentication failsCopyright © 2020–2021 Adobe Inc. All rights reserved.