public static class TokenProvider.Outlook extends Object
Provides an instance of the TokenProvider for Outlook mail server
Constructor and Description |
---|
TokenProvider.Outlook() |
Modifier and Type | Method and Description |
---|---|
static TokenProvider |
getInstance(String clientId,
String clientSecret,
String refreshToken)
Gets an instance of the TokenProvider for Outlook mail server
|
public static TokenProvider getInstance(String clientId, String clientSecret, String refreshToken)
Gets an instance of the TokenProvider for Outlook mail server
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 token