DeviceAuthorizationInfo

data class DeviceAuthorizationInfo(val verificationUri: String, val verificationUriComplete: String?, val deviceCode: String, val userCode: String, val interval: Int, val expiresIn: Int)

Response from a device authorization request per RFC 8628.

Constructors

Link copied to clipboard
constructor(verificationUri: String, verificationUriComplete: String?, deviceCode: String, userCode: String, interval: Int, expiresIn: Int)

Properties

Link copied to clipboard

the device verification code used to poll for tokens.

Link copied to clipboard

the lifetime in seconds of deviceCode and userCode.

Link copied to clipboard

the minimum polling interval in seconds.

Link copied to clipboard

the short code the user enters at verificationUri.

Link copied to clipboard

the URI the user should visit to authorize the device.

Link copied to clipboard

a convenience URI combining verificationUri and userCode.