BridgeAuth

interface BridgeAuth

Handles retrieving a token for authorization with the Hue Bridge.

Functions

Link copied to clipboard
abstract suspend fun awaitToken(appId: AppId, retries: Int = 50, timeout: Duration = 5.seconds): AuthToken

Wait for the user to hit the confirmation button to get a token.