Package org.teiid.spring.data.salesforce
Class SalesforceOAuth2Template
- java.lang.Object
-
- org.springframework.social.oauth2.OAuth2Template
-
- org.teiid.spring.data.salesforce.SalesforceOAuth2Template
-
- All Implemented Interfaces:
org.springframework.social.oauth2.OAuth2Operations
public class SalesforceOAuth2Template extends org.springframework.social.oauth2.OAuth2Template
-
-
Constructor Summary
Constructors Constructor Description SalesforceOAuth2Template(String clientId, String clientSecret, String authorizeUrl, String accessTokenUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
String
getInstanceUrl()
protected org.springframework.social.oauth2.AccessGrant
postForAccessGrant(String accessTokenUrl, org.springframework.util.MultiValueMap<String,String> parameters)
void
setId(String id)
void
setInstanceUrl(String instanceUrl)
-
Methods inherited from class org.springframework.social.oauth2.OAuth2Template
authenticateClient, authenticateClient, buildAuthenticateUrl, buildAuthenticateUrl, buildAuthorizeUrl, buildAuthorizeUrl, createAccessGrant, createRestTemplate, exchangeCredentialsForAccess, exchangeForAccess, getRestTemplate, refreshAccess, refreshAccess, setRequestFactory, setUseParametersForClientAuthentication
-
-