(am-i-logged-in request)
Check if user is logged in
Check if user is logged in
(am-i-logged-in-fn request)
Shortcut function for result comparation of am-i-logged-in function if user is logged in
Shortcut function for result comparation of am-i-logged-in function if user is logged in
(create-indexes)
Create indexes for system to work
Create indexes for system to work
(delete-session-record {cookies :cookie
is-https-custom-header :is-https-custom-header})
Delete session record from database
Delete session record from database
(get-accept-language request)
Read accept-language header for selected language
Read accept-language header for selected language
(get-cookie cookies cookie-name)
Read cookie from request cookies is string from cookie header from request cookie-name is cookie's name as keyword :cookie-name
Read cookie from request cookies is string from cookie header from request cookie-name is cookie's name as keyword :cookie-name
(get-pass-for-email-username email-username password & [accept-language])
Get password for supplied email
Get password for supplied email
(get-preferences request)
Fetch preferences for logged in user
Fetch preferences for logged in user
(get-session-obj request)
Gets active session object
Gets active session object
(login-authentication
{user-agent :user-agent
accept-language :accept-language
is-https-custom-header :is-https-custom-header
{email-username :email password :password remember-me :remember-me} :body})
Login authentication
Login authentication
(refresh-session {cookie :cookie
user-agent :user-agent
is-https-custom-header :is-https-custom-header})
Refreash existing session uuid for long or short session timeout
Refreash existing session uuid for long or short session timeout
(session-cookie-string cookie-name
user-id
username
session-uuid
timeout-in-seconds
user-agent
&
[is-secure-on is-httponly-on is-persistent])
Format session cookie with name, uuid, exparation datetime and max-age seconds
Format session cookie with name, uuid, exparation datetime and max-age seconds
(session-cookie-string-fn remember-me
user
uuid
user-agent
is-https-custom-header)
Format session cookie
Format session cookie
(session-timeout seconds)
Return current date and time in particular format adding up seconds
Return current date and time in particular format adding up seconds
(set-session-cookies request response)
Set session cookies
Set session cookies
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close