startAuth

suspend fun startAuth(onUrl: Consumer<String>): ClientAccount

Start the OAuth authentication flow. While one is pending, this opens its URL again and waits for the same result, and one that is not finished within AUTH_TIMEOUT fails.

Return

Client account with the authenticated session

Parameters

onUrl

Callback for when the authorization URL is ready