Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

RefreshOAuthToken

Inputs

Parameter

Details

parameters

  • C++: const char*
  • C#: string

The OAuth refresh token to be used to get a fresh access token.

Outputs via Callbacks

  • AddProperty - "accessToken" to be used for OAuth
  • [Optional] AddProperty - "refreshToken" for OAuth
  • [Optional] LogMessage or SetError - to provide user feedback.

Details

If any method here returns a 401 (Unauthorized) via SetErrorCode then Enterprise Architect will attempt to use the refresh token (if it was supplied) and call this method.

Perform a refresh request against the OAuth refresh endpoint and return the new accessToken and refreshToken.