getToken

abstract fun getToken(handler: CompletionHandler<String?>)

Returns 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

0.1

Parameters

handler

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