(auth-response response config)
(nil-session)
(reauth config session prom)
(send-auth-request! config)
(session-request request config session)
(session-status {:keys [reauth-at expires-at]})
(session-token config session)
(try-reauth config session)
(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
(wait-for-reauth session)
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |