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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
host |
AuthHost |
endpoint |
DeviceEndpoint |
Returns
Section titled “Returns”Promise<DevicePrompt>