@Deprecated public class GoogleTokenProvider extends TokenProvider
Class GoogleTokenProvider allows to retrieve access token for Google services. Note: This class obsolete and will be removed soon. Please, use 'TokenProvider.Google' instead of it.
TokenProvider.Google, TokenProvider.Outlook
Modifier and Type | Method and Description |
---|---|
static GoogleTokenProvider |
getInstance(String clientId,
String clientSecret,
String refreshToken)
Deprecated.
Gets an instance of the GoogleTokenProvider for defined parameters.
|
dispose, getAccessToken, getAccessToken, getClientId, getClientSecret, getExtraParameters, getInstance, getLogin, getPassword, getRefreshToken, getRequestUrl, getUseBasicAuthorization, setLogin, setPassword, setUseBasicAuthorization
public static GoogleTokenProvider getInstance(String clientId, String clientSecret, String refreshToken)
Gets an instance of the GoogleTokenProvider for defined parameters.
clientId
- The client ID obtained from the Google Cloud Console during application registration.clientSecret
- The client secret obtained during application registration.refreshToken
- OAuth 2.0 refresh tokenCopyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.