Liking cljdoc? Tell your friends :D

slouch.http.middleware.session


auth-responseclj

(auth-response response config)

nil-sessionclj

(nil-session)

reauthclj

(reauth config session prom)

send-auth-request!clj

(send-auth-request! config)

session-requestclj

(session-request request config session)

session-statusclj

(session-status {:keys [reauth-at expires-at]})

session-tokenclj

(session-token config session)

try-reauthclj

(try-reauth config session)

try-volunteer-reauthclj

(try-volunteer-reauth session)

Volunteers the current process to reauthenticate. If successful, returns a promise to be delivered AFTER the session has been updated

A return value of nil indicates a competing thread volunteered first

Volunteers the current process to reauthenticate. If successful, returns
a promise to be delivered AFTER the session has been updated

A return value of nil indicates a competing thread volunteered first
raw docstring

wait-for-reauthclj

(wait-for-reauth session)

wrap-sessionclj

(wrap-session config)

Fires a request to create a new Couch session if one does not exist or an existing session is near expiry.

Fires a request to create a new Couch session if one does not
exist or an existing session is near expiry.
raw docstring

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

× close