requestToken

abstract fun requestToken(onComplete: (token: String) -> Unit)

Requests an authentication token.

This method must return immediately and perform any long-running or asynchronous work internally (for example, a network request).

Parameters

onComplete

Called when a valid authentication token is available.