(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 is a website building & hosting documentation for Clojure/Script libraries
× close