Liking cljdoc? Tell your friends :D

xiana.session

Xiana's session management

Xiana's session management
raw docstring

add-guest-userclj

(add-guest-user state)
source

connectclj

(connect {backend-config :xiana/session-backend :as cfg})
source

guest-session-interceptorclj

Inserts a new session when no session found

Inserts a new session when no session found
sourceraw docstring

init-backendclj

(init-backend {session-backend :session-backend
               {storage :storage} :xiana/session-backend
               :as config})
source

interceptorclj

Returns with 401 when the referred session is missing

Returns with 401 when the referred session is missing
sourceraw docstring

Sessioncljprotocol

add!clj

(add! _ k v)

delete!clj

(delete! _ k)

dumpclj

(dump _)

erase!clj

(erase! _)

fetchclj

(fetch _ k)
source

store-sessionclj

(store-session {{session-id :session-id} :session-data :as state})
source

un-objectifyclj

(un-objectify table data)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close