struct CB::Model::Session
- CB::Model::Session
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
Constructors
- .new(id : String, account_id : String = "", expires_at : Time = Time::ZERO, is_sso : Bool | Nil = nil, login_url : String | Nil = nil, one_time_token : String | Nil = nil, secret : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #account_id : String
- #clone
- #copy_with(id _id = @id, account_id _account_id = @account_id, expires_at _expires_at = @expires_at, is_sso _is_sso = @is_sso, login_url _login_url = @login_url, one_time_token _one_time_token = @one_time_token, secret _secret = @secret)
- #expires_at : Time
- #id : String
- #is_sso : Bool | Nil
- #login_url : String | Nil
- #one_time_token : String | Nil
- #secret : String | Nil
Constructor Detail
def self.new(id : String, account_id : String = "", expires_at : Time = Time::ZERO, is_sso : Bool | Nil = nil, login_url : String | Nil = nil, one_time_token : String | Nil = nil, secret : String | Nil = nil)
#
Instance Method Detail
def copy_with(id _id = @id, account_id _account_id = @account_id, expires_at _expires_at = @expires_at, is_sso _is_sso = @is_sso, login_url _login_url = @login_url, one_time_token _one_time_token = @one_time_token, secret _secret = @secret)
#