public class GoogleProvider extends OAuth2Provider
SocialProvider.Manager, SocialProvider.ResolverauthMethod, callbackUrl, config, id, logger| Constructor and Description |
|---|
GoogleProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accessTokenInJson() |
protected Map<String,String> |
exchangeAccessTokenParams(String code,
String act_callback,
String act_payload) |
protected String |
expiresParamName() |
void |
fillProfile(SocialProfile user)
Once the user is authenticated this method is called to retrieve profile information from the provider.
|
protected long |
parseExpires(String s) |
protected boolean |
postToAccessTokenUrl() |
accessTokenHeaderName, accessTokenHeaderVal, accessTokenParamName, authorizationParams, authUrl, doAuth, finishBuildingRequest, tryApplyAccessTokenappendParam, appendParams, callbackUrl, callbackUrl, checkCsrfToken, getId, readUrlAsJson, readUrlAsString, toStringprotected Map<String,String> exchangeAccessTokenParams(String code, String act_callback, String act_payload)
exchangeAccessTokenParams in class OAuth2Providerprotected boolean postToAccessTokenUrl()
postToAccessTokenUrl in class OAuth2Providerprotected boolean accessTokenInJson()
accessTokenInJson in class OAuth2Providerprotected String expiresParamName()
expiresParamName in class OAuth2Providerprotected long parseExpires(String s)
parseExpires in class OAuth2Providerpublic void fillProfile(SocialProfile user)
SocialProviderOnce the user is authenticated this method is called to retrieve profile information from the provider.
fillProfile in class SocialProvideruser - A SocialProfileCopyright © 2016–2018 ActFramework. All rights reserved.