DeviceAuthorizationResult
fun DeviceAuthorizationResult( device_code: String, user_code: String, verification_uri: String, verification_uri_complete: String, expires_in: Long, interval: Long)
Content copied to clipboard
Parameters
device_code
The short-lived code that is used by the device when polling for a session token.
user_code
A one-time user verification code. This is needed to authorize an in-use device.
verification_uri
The URI of the verification page that takes the userCode
to authorize the device.
verification_uri_complete
An alternate URL that the client can use to automatically launch a browser. This process skips the manual step in which the user visits the verification page and enters their code.
expires_in
Indicates the number of seconds in which the verification code will become invalid.
interval
Indicates the number of seconds the client must wait between attempts when polling for a session.