DeviceAuth

interface DeviceAuth

Properties

Link copied to clipboard
abstract val url: URL

Where the caller goes to approve this authorisation.

Functions

Link copied to clipboard
abstract fun await(): Principal

Blocks until the caller has approved at url, then returns the principal, whose user id is the one the authenticator resolves.