Aspose::Email::Clients::TokenProvider::Outlook Class Reference

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

Inherits Object.

Static Public Member Functions

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

Static Public Attributes

static const System::String RequestUrl
 

Detailed Description

Provides an instance of the TokenProvider for Outlook mail server

Member Function Documentation

◆ GetInstance()

static System::SharedPtr<TokenProvider> Aspose::Email::Clients::TokenProvider::Outlook::GetInstance ( System::String  clientId,
System::String  clientSecret,
System::String  refreshToken 
)
static

Gets an instance of the TokenProvider for Outlook 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::Outlook::RequestUrl
static