public class SalesforceOAuth2Template
extends org.springframework.social.oauth2.OAuth2Template
Constructor and Description |
---|
SalesforceOAuth2Template(String clientId,
String clientSecret,
String authorizeUrl,
String accessTokenUrl) |
Modifier and Type | Method and 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) |
authenticateClient, authenticateClient, buildAuthenticateUrl, buildAuthenticateUrl, buildAuthorizeUrl, buildAuthorizeUrl, createAccessGrant, createRestTemplate, exchangeCredentialsForAccess, exchangeForAccess, getRestTemplate, refreshAccess, refreshAccess, setRequestFactory, setUseParametersForClientAuthentication
Copyright © 2019. All rights reserved.