public class GoogleOAuth2Template
extends org.springframework.social.oauth2.OAuth2Template
Constructor and Description |
---|
GoogleOAuth2Template(java.lang.String clientId,
java.lang.String clientSecret) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.social.oauth2.AccessGrant |
postForAccessGrant(java.lang.String accessTokenUrl,
org.springframework.util.MultiValueMap<java.lang.String,java.lang.String> parameters) |
authenticateClient, authenticateClient, buildAuthenticateUrl, buildAuthenticateUrl, buildAuthorizeUrl, buildAuthorizeUrl, createAccessGrant, createRestTemplate, exchangeCredentialsForAccess, exchangeForAccess, getRestTemplate, refreshAccess, refreshAccess, setRequestFactory, setUseParametersForClientAuthentication
public GoogleOAuth2Template(java.lang.String clientId, java.lang.String clientSecret)
protected org.springframework.social.oauth2.AccessGrant postForAccessGrant(java.lang.String accessTokenUrl, org.springframework.util.MultiValueMap<java.lang.String,java.lang.String> parameters)
postForAccessGrant
in class org.springframework.social.oauth2.OAuth2Template