GetInstance

GetInstance

Gets an instance of the OutlookTokenProvider for defined parameters.

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

GetInstance(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