Aspose::Email::Clients::Google::IBaseGmailClient Class Referenceabstract

Interface for base class of Gmail client More...

Inherits IDisposable.

Inherited by Aspose::Email::Clients::Google::GmailClient [virtual], and Aspose::Email::Clients::Google::IGmailClient [virtual].

Public Member Functions

virtual System::String get_AccessToken ()=0
 Gets OAuth 2.0 bearer token More...
 
virtual void set_AccessToken (System::String value)=0
 Sets OAuth 2.0 bearer token More...
 
virtual System::SharedPtr< System::Net::IWebProxy > get_Proxy ()=0
 Gets the proxy. More...
 
virtual void set_Proxy (System::SharedPtr< System::Net::IWebProxy > value)=0
 Sets the proxy. More...
 
virtual int32_t get_Timeout ()=0
 Gets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds). More...
 
virtual void set_Timeout (int32_t value)=0
 Sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds). More...
 
virtual System::String get_DefaultEmail ()=0
 Gets default email address More...
 
virtual void RefreshToken ()=0
 Refresh access token More...
 

Detailed Description

Interface for base class of Gmail client

Member Function Documentation

◆ get_AccessToken()

virtual System::String Aspose::Email::Clients::Google::IBaseGmailClient::get_AccessToken ( )
pure virtual

Gets OAuth 2.0 bearer token

Implemented in Aspose::Email::Clients::Google::GmailClient.

◆ get_DefaultEmail()

virtual System::String Aspose::Email::Clients::Google::IBaseGmailClient::get_DefaultEmail ( )
pure virtual

Gets default email address

Implemented in Aspose::Email::Clients::Google::GmailClient.

◆ get_Proxy()

virtual System::SharedPtr<System::Net::IWebProxy> Aspose::Email::Clients::Google::IBaseGmailClient::get_Proxy ( )
pure virtual

Gets the proxy.

Implemented in Aspose::Email::Clients::Google::GmailClient.

◆ get_Timeout()

virtual int32_t Aspose::Email::Clients::Google::IBaseGmailClient::get_Timeout ( )
pure virtual

Gets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).

Implemented in Aspose::Email::Clients::Google::GmailClient.

◆ RefreshToken()

virtual void Aspose::Email::Clients::Google::IBaseGmailClient::RefreshToken ( )
pure virtual

Refresh access token

Implemented in Aspose::Email::Clients::Google::GmailClient.

◆ set_AccessToken()

virtual void Aspose::Email::Clients::Google::IBaseGmailClient::set_AccessToken ( System::String  value)
pure virtual

Sets OAuth 2.0 bearer token

Implemented in Aspose::Email::Clients::Google::GmailClient.

◆ set_Proxy()

virtual void Aspose::Email::Clients::Google::IBaseGmailClient::set_Proxy ( System::SharedPtr< System::Net::IWebProxy >  value)
pure virtual

Sets the proxy.

Implemented in Aspose::Email::Clients::Google::GmailClient.

◆ set_Timeout()

virtual void Aspose::Email::Clients::Google::IBaseGmailClient::set_Timeout ( int32_t  value)
pure virtual

Sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).

Implemented in Aspose::Email::Clients::Google::GmailClient.