Provides an instance of the TokenProvider for Google mail server
More...
Inherits Object.
Provides an instance of the TokenProvider for Google mail server
◆ Google()
Aspose::Email::Clients::TokenProvider::Google::Google |
( |
| ) |
|
|
delete |
◆ GetInstance()
static System::SharedPtr<TokenProvider> Aspose::Email::Clients::TokenProvider::Google::GetInstance |
( |
System::String |
clientId, |
|
|
System::String |
clientSecret, |
|
|
System::String |
refreshToken |
|
) |
| |
|
static |
Gets an instance of the TokenProvider for Google mail server
- 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 token |
- Returns
- Returns an instance of the OutlookTokenProvider for defined parameters.
◆ RequestUrl
const System::String Aspose::Email::Clients::TokenProvider::Google::RequestUrl |
|
static |