Package version:

Interface DeviceCodeInfo

Provides the user code and verification URI where the code must be entered. Also provides a message to display to the user which contains an instruction with these details.

interface DeviceCodeInfo {
    message: string;
    userCode: string;
    verificationUri: string;
}

Properties

message: string

A message that may be shown to the user to instruct them on how to enter the device code in the page specified by the verification URI.

userCode: string

The device code that the user must enter into the verification page.

verificationUri: string

The verification URI to which the user must navigate to enter the device code.