(handle-auth {{:keys [username password service mine-id]} :params :as _req})Ring handler for handling authentication. Attempts to authenticate with the IM server (via web services) by fetching a token. If successful, return the token and store it in the session.
Ring handler for handling authentication. Attempts to authenticate with the IM server (via web services) by fetching a token. If successful, return the token and store it in the session.
(logout)Log the user out by clearing the session
Log the user out by clearing the session
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 |