Skip to main content

Interface: ServiceDeviceAuthorization

Challenge returned when a client starts device-code authentication.

Properties

deviceCode

deviceCode: string

Opaque value sent only to the token endpoint.


userCode

userCode: string

Short value displayed to the user.


verificationUrl

verificationUrl: string

Page where the user can enter the code.


verificationUrlComplete?

optional verificationUrlComplete?: string

Optional page containing the code, suitable for links and QR codes.


expiresIn

expiresIn: number

Challenge lifetime in seconds.


interval

interval: number

Minimum polling interval in seconds.