DeviceAuthorizationRequest

data class DeviceAuthorizationRequest(@Json(name = "device_code") val deviceCode: String, @Json(name = "user_code") val userCode: String, @Json(name = "verification_uri") val verificationUri: String, @Json(name = "verification_uri_complete") val verificationUriComplete: String?, @Json(name = "expires_in") val expiresIn: Int, val interval: Int?)

Constructors

Link copied to clipboard
constructor(@Json(name = "device_code") deviceCode: String, @Json(name = "user_code") userCode: String, @Json(name = "verification_uri") verificationUri: String, @Json(name = "verification_uri_complete") verificationUriComplete: String?, @Json(name = "expires_in") expiresIn: Int, interval: Int?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun DeviceAuthorizationRequest.createQrCode(width: Int, height: Int, contrastLow: Int? = null, contrastHigh: Int? = null): Bitmap