public static class TokenProvider.Google extends Object
Provides an instance of the TokenProvider for Google mail server
Constructor and Description |
---|
TokenProvider.Google() |
Modifier and Type | Method and Description |
---|---|
static TokenProvider |
getInstance(String clientId,
String clientSecret,
String refreshToken)
Gets an instance of the TokenProvider for Google mail server
|
public static TokenProvider getInstance(String clientId, String clientSecret, String refreshToken)
Gets an instance of the TokenProvider for Google 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 tokenCopyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.