(->same-site same-site)
(->tracking-mode mode)
(configurator server
{:keys [auth-method login-uri login-retry-uri constraint-mappings
cookie]
:as opts})
(default-login-redirect target
request
{:keys [login-uri login-retry-uri post-login-uri-attr]})
When logging in we have some special cases to consider with the post-login uri
When logging in we have some special cases to consider with the post-login uri
(maybe-logout base-request opts)
Invalidate the session IFF the URI is /logout
Invalidate the session IFF the URI is /logout
(session-handler {:keys [secure-request-only? http-only? same-site
max-inactive-interval tracking-modes cookie-name]
:or {max-inactive-interval -1
secure-request-only? true
http-only? true
same-site :strict
cookie-name "JSESSIONID"
tracking-modes #{:cookie}}})
(user req)
Derive user credentials (name + roles) from a base jetty request
Derive user credentials (name + roles) from a base jetty request
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close