refreshToken

fun refreshToken(handler: CompletionHandler<String?>)

Refresh an access token of this authenticator.

This may involve long-running operations such as service calls, but may also return immediately. The application should not make assumptions about how quickly this completes.

Since

1.4

Parameters

handler

a callback to be executed when completed, with the access token if successfully retrieved, otherwise nil.