DeviceAuthorizationResponse
Defined in: src/oauth/authorize.ts:141
Response from the OAuth2 device authorization endpoint. As specified in https://datatracker.ietf.org/doc/html/rfc8628#section-3.2
Properties
Section titled “Properties”device_code
Section titled “device_code”device_code:
string
Defined in: src/oauth/authorize.ts:143
The device verification code.
expires_in
Section titled “expires_in”expires_in:
number
Defined in: src/oauth/authorize.ts:156
The lifetime in seconds of the “device_code” and “user_code”.
interval?
Section titled “interval?”
optionalinterval?:number
Defined in: src/oauth/authorize.ts:161
The minimum amount of time in seconds that the client SHOULD wait between polling requests to the token endpoint. If no value is provided, clients MUST use 5 as the default.
user_code
Section titled “user_code”user_code:
string
Defined in: src/oauth/authorize.ts:145
The end-user verification code.
verification_uri
Section titled “verification_uri”verification_uri:
string
Defined in: src/oauth/authorize.ts:150
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.
verification_uri_complete?
Section titled “verification_uri_complete?”
optionalverification_uri_complete?:string
Defined in: src/oauth/authorize.ts:154
The URI which doesn’t require the user to manually type the user_code, designed for non-textual transmission.