@Deprecated public class OutlookTokenProvider extends TokenProvider
Class OutlookTokenProvider allows to retrieve access token for Outlook.com. Note: This class obsolete and will be removed soon. Please, use 'TokenProvider.Outlook' instead of it.
TokenProvider.Google, TokenProvider.Outlook
Modifier and Type | Method and Description |
---|---|
static OutlookTokenProvider |
getInstance(String clientId,
String clientSecret,
String refreshToken)
Deprecated.
Gets an instance of the OutlookTokenProvider for defined parameters.
|
dispose, getAccessToken, getAccessToken, getClientId, getClientSecret, getExtraParameters, getInstance, getLogin, getPassword, getRefreshToken, getRequestUrl, getUseBasicAuthorization, setLogin, setPassword, setUseBasicAuthorization
public static OutlookTokenProvider getInstance(String clientId, String clientSecret, String refreshToken)
Gets an instance of the OutlookTokenProvider for defined parameters.
clientId
- The client ID obtained from the Microsoft account Developer Center 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.