CB::Model::SessionIntent
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(id : String, agent_name : String = "cb", code : String = "cbsic_code", expires_at : Time = Time::ZERO, secret : String | Nil = nil, session : Session | Nil = nil)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance methods
agent_name
clone
code
copy_with(id _id = @id, agent_name _agent_name = @agent_name, code _code = @code, expires_at _expires_at = @expires_at, secret _secret = @secret, session _session = @session)
expires_at
id
secret
session