approveDevice

abstract suspend fun approveDevice(userCode: String)

Approve a DeviceAuthorizationRequest by its user code with the current user credentials.

Parameters

userCode

the user code as returned by the DeviceAuthorizationRequest

Throws

if the request cannot be successfully completed.