public abstract class AbstractOAuthConfig extends AbstractConfig
Modifier and Type | Field and Description |
---|---|
static String |
COULD_NOT_EXTRACT_FIELD |
RECOMMENDED_API_VERSION
Constructor and Description |
---|
AbstractOAuthConfig() |
Modifier and Type | Method and Description |
---|---|
Double |
getApiVersion() |
String |
getOAuth2AccessToken()
Getter method for access token.
|
String |
getOAuth2instanceId()
Getter method for instance id.
|
String |
getSessionId() |
com.sforce.soap.partner.PartnerConnection |
partnerConnection(com.sforce.ws.ConnectorConfig config) |
protected void |
postAuthorization() |
void |
setApiVersion(Double apiVersion) |
void |
setOAuth2AccessToken(String oAuth2AccessToken)
Setter method for access token.
|
void |
setOAuth2instanceId(String oAuth2instanceId)
Setter method for instance id.
|
computeBaseUrl, destroySession, getAllowFieldTruncationSupport, getApexClassNames, getApexClient, getAssignmentRuleId, getBatchSobjectMaxDepth, getBulkConnection, getClearNullFields, getClientId, getConnectionTimeout, getFetchAllApexRestMetadata, getFetchAllApexSoapMetadata, getMetadataConnection, getMuleContext, getPartnerConnection, getProxyHost, getProxyPassword, getProxyPort, getProxyPortAsInteger, getProxyUsername, getPushEventRestClient, getReadTimeout, getTimeObjectStore, getUrls, getUseDefaultRule, getUsername, initConnectionConfig, isConnected, isDisableSessionInvalidationActive, logoutPartnerConnection, setAllowFieldTruncationSupport, setApexClassNames, setAssignmentRuleId, setBatchSobjectMaxDepth, setClearNullFields, setClientId, setConnectionOptions, setConnectionTimeout, setFetchAllApexRestMetadata, setFetchAllApexSoapMetadata, setMuleContext, setPartnerConnection, setProxyHost, setProxyPassword, setProxyPort, setProxyUsername, setReadTimeout, setTimeObjectStore, setUseDefaultRule, setUsername, subscribe, validateApexClassesConfiguration, validateCurrentSession, validatePartnerConnection, validateProxyConfiguration, verifyApiVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
recreateSession
public static final String COULD_NOT_EXTRACT_FIELD
@NotNull public Double getApiVersion()
public void setApiVersion(@NotNull Double apiVersion)
public String getOAuth2AccessToken()
public void setOAuth2AccessToken(String oAuth2AccessToken)
oAuth2AccessToken
- - access tokenpublic void setOAuth2instanceId(String oAuth2instanceId)
oAuth2instanceId
- - URI to service instancepublic String getOAuth2instanceId()
@Nullable public String getSessionId()
getSessionId
in interface SessionControl
getSessionId
in class AbstractConfig
protected void postAuthorization() throws SalesforceException
SalesforceException
public com.sforce.soap.partner.PartnerConnection partnerConnection(com.sforce.ws.ConnectorConfig config) throws com.sforce.ws.ConnectionException
com.sforce.ws.ConnectionException
Copyright © 2010–2020. All rights reserved.