GetInstance

GetInstance

Gets an instance of the TokenProvider for Outlook mail server

Returns: Returns an instance of the OutlookTokenProvider for defined parameters.

GetInstance(System::String clientId, System::String clientSecret, System::String refreshToken)
ParameterDescription
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