DeviceAuthorizationFlowContext

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

Holds the state for an in-progress DeviceAuthorizationFlow session.

Constructors

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

Properties

Link copied to clipboard

seconds until this authorization session expires.

Link copied to clipboard

the short code to display to the user.

Link copied to clipboard

the URI the user should visit on another device to authorize.

Link copied to clipboard

a convenience URI that includes the userCode, or null if not provided.