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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
client_id
Sourceclient_id=(client_id : String)
Sourcedevice_code
Sourcedevice_code=(device_code : String)
Sourceexpired?
Sourceexpires_at
Sourceexpires_at=(expires_at : Time)
Sourceinterval
Sourceinterval=(interval : Int32)
Sourcescope
Sourcescope=(scope : String)
Sourceuser_code
Sourceuser_code=(user_code : String)
Sourceuser_id
Sourceuser_id=(user_id : String | Nil)
Sourceverified=(verified : Bool)
Sourceverified?
Source