TokenProvider

TokenProvider (1 of 4)

Initializes a new instance of the TokenProvider class

Returns: Aspose::Email::Clients::

TokenProvider(System::String requestUrl, System::String clientId, System::String clientSecret, System::String refreshToken)
ParameterDescription
requestUrlThe url to obtain access token.
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

TokenProvider (2 of 4)

Initializes a new instance of the TokenProvider class

Returns: Aspose::Email::Clients::

TokenProvider(System::String requestUrl, System::String clientId, System::String clientSecret, System::String refreshToken, System::String login, System::String password)
ParameterDescription
requestUrlThe url to obtain access token.
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
loginlogin for basic authorization
passwordpassword for basic authorization

TokenProvider (3 of 4)

Initializes a new instance of the TokenProvider class

Returns: Aspose::Email::Clients::

TokenProvider(System::String requestUrl, System::String clientId, System::String clientSecret, System::String refreshToken, System::String login, System::String password, System::ArrayPtr< System::Collections::Generic::KeyValuePair< System::String, System::String >> extraParameters)
ParameterDescription
requestUrlThe url to obtain access token.
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
loginlogin for basic authorization
passwordpassword for basic authorization
extraParameters

TokenProvider (4 of 4)

Initializes a new instance of the TokenProvider class

Returns: Aspose::Email::Clients::

TokenProvider(System::String requestUrl, System::String clientId, System::String clientSecret, System::String refreshToken, System::ArrayPtr< System::Collections::Generic::KeyValuePair< System::String, System::String >> extraParameters)
ParameterDescription
requestUrlThe url to obtain access token.
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
extraParameters