Web.Spock.Auth

Initialisation helpers

authSessCfg

data AuthCfg sess

Handeling custom session data

writeSessionData

readSessionData

modifySessionData

Access control

data VisitorSession sess userId

data NoAccessReason

type NoAccessHandler conn sess userId st

type LoadUserFun conn sess userId st user

type CheckRightsFun conn sess userId st user

type UserRights

markAsLoggedIn

markAsGuest

userRoute