struct

Authly::DeviceCodeData

Inherits JSON::Serializable / Struct / Value / Object

Constructors

new(device_code : String, user_code : String, client_id : String, scope : String, expires_at : Time, interval : Int32 = 5, verified : Bool = false, user_id : Nil | String = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

client_id
Source
client_id=(client_id : String)
Source
device_code
Source
device_code=(device_code : String)
Source
expired?
Source
expires_at
Source
expires_at=(expires_at : Time)
Source
interval
Source
interval=(interval : Int32)
Source
scope
Source
scope=(scope : String)
Source
user_code
Source
user_code=(user_code : String)
Source
user_id
Source
user_id=(user_id : String | Nil)
Source
verified=(verified : Bool)
Source
verified?
Source