Aspose::Email::Clients::TokenProvider::Google Class Reference

Provides an instance of the TokenProvider for Google mail server More...

Inherits Object.

Public Member Functions

 Google ()=delete
 

Static Public Member Functions

static System::SharedPtr< TokenProviderGetInstance (System::String clientId, System::String clientSecret, System::String refreshToken)
 Gets an instance of the TokenProvider for Google mail server More...
 

Static Public Attributes

static const System::String RequestUrl
 

Detailed Description

Provides an instance of the TokenProvider for Google mail server

Constructor & Destructor Documentation

◆ Google()

Aspose::Email::Clients::TokenProvider::Google::Google ( )
delete

Member Function Documentation

◆ 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
clientIdThe client ID obtained from the Microsoft account Developer Center during application registration.
clientSecretThe client secret obtained during application registration.
refreshTokenOAuth 2.0 refresh token
Returns
Returns an instance of the OutlookTokenProvider for defined parameters.

Member Data Documentation

◆ RequestUrl

const System::String Aspose::Email::Clients::TokenProvider::Google::RequestUrl
static