RefreshAsync

Issues an HTTP POST request to the authentication endpoint (/token) requesting a new Token by supplying a refresh token, rather than the instance name, username, password and possibly onetimePassword.After a successful call to Boolean) the Client wrapper will cache the Access Token in the TokenResponse property. This Access Token must be sent on all subsequent requests. If the refresh_token is provided with in the time frame of the initial token response then a new Token will be returned by the server, and cached in the TokenResponse property of the Client wrapper. Users of the API must remember to refresh the Authentication by calling RefreshAsync some time before the expiry of the initial token. Returns (Task<System.Boolean>.)Exception Type: FailedOutcomeExceptionAny non 20x response from the API Server. Check HttpStatus for details. I.E. 404 status indicated the resource does not exist

Cause a refresh to display new data.

Name Description

Refresh Async

Example in C#

// Returns: Boolean
var item = await client.RefreshAsync()

Example in CURL



           curl -X POST \
               https://keepapi.feenicshosting.com/token \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/x-www-form-urlencoded' \
               -d 'refresh_token=TOKEN_HERE&grant_type=refresh_token&client_id=consoleApp#38;client_secret=consoleSecret'