Prev | Next |
RefreshOAuthToken
Inputs
Parameter |
Details |
---|---|
parameters |
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.