Liking cljdoc? Tell your friends :D

slipway.auth


->same-siteclj

(->same-site same-site)

->tracking-modeclj

(->tracking-mode mode)

configuratorclj

(configurator server
              {:keys [auth-method login-uri login-retry-uri constraint-mappings
                      session cookie]
               :as opts})

default-login-redirectclj

(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
raw docstring

login-servicecljmultimethod


maybe-logoutclj

(maybe-logout base-request opts)

Invalidate the session IFF the URI is /logout

Invalidate the session IFF the URI is /logout
raw docstring

session-handlerclj

(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}}})

userclj

(user req)

Derive user credentials (name + roles) from a base jetty request

Derive user credentials (name + roles) from a base jetty request
raw docstring

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

× close