class Launch::Router::Session::CookieStore
Overview
This is the default Cookie Store
Defined in:
launch/router/session/cookie_store.crConstructors
Class Method Summary
Instance Method Summary
- #changed?
- #current_session
- #destroy
- #expires : Int32
- #expires=(expires : Int32)
- #expires_at
- #id
- #key : String
- #key=(key : String)
- #session : SessionHash
- #session=(session : SessionHash)
- #set_session
- #store : Launch::Router::Cookies::SignedStore | Launch::Router::Cookies::EncryptedStore
- #store=(store : Launch::Router::Cookies::SignedStore | Launch::Router::Cookies::EncryptedStore)
- #update(hash : Hash(String | Symbol, String))
Macro Summary
Instance methods inherited from class Launch::Router::Session::AbstractStore
current_session
current_session,
destroy
destroy,
id
id,
set_session
set_session,
update(other_hash : Hash(String | Symbol, String))
update
Instance methods inherited from class Object
blank?
blank?,
present?
present?
Constructor Detail
def self.new(store : Launch::Router::Cookies::AbstractStore, key : String, expires : Int32)
#
Class Method Detail
Instance Method Detail
def store=(store : Launch::Router::Cookies::SignedStore | Launch::Router::Cookies::EncryptedStore)
#