Skip to content

requestDeviceCode

function requestDeviceCode(host, endpoint): Promise<DevicePrompt>;

Defined in: core/src/auth/device.ts:39

Step 1: ask the vendor for a code the user can approve on the web.

Parameter Type
host AuthHost
endpoint DeviceEndpoint

Promise<DevicePrompt>