authenticate

fun authenticate(callbackContext: CallbackContext?)

Get a REST client and refresh the authentication token

Parameters

callbackContext

When not null credentials/errors are sent through to callbackContext.success()/error()