Interface: DeviceAuthorizationResponse

March 19, 2026 Ā· View on GitHub

šŸ’— Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


Indexable

[parameter: string]: JsonValue | undefined

Properties

device_code

• readonly device_code: string

The device verification code


expires_in

• readonly expires_in: number

The lifetime in seconds of the "device_code" and "user_code"


user_code

• readonly user_code: string

The end-user verification code


verification_uri

• readonly verification_uri: string

The end-user verification URI on the authorization server. The URI should be short and easy to remember as end users will be asked to manually type it into their user agent.


interval?

• readonly optional interval?: number

The minimum amount of time in seconds that the client should wait between polling requests to the token endpoint.


verification_uri_complete?

• readonly optional verification_uri_complete?: string

A verification URI that includes the "user_code" (or other information with the same function as the "user_code"), which is designed for non-textual transmission