(interactive-form &
{:keys [login-uri credential-fn login-failure-handler
redirect-on-auth?]
:as form-config
:or {redirect-on-auth? true}})(interactive-login-redirect {:keys [form-params params] :as request})(make-auth user-record)(make-auth user-record auth-meta)Given a user record map (presumably based on data loaded from an application's database), returns an authentication map that:
Given a user record map (presumably based on data loaded from an application's database), returns an authentication map that: * Uses the :identity or :username slot in the user record as the authentication map's :identity * Optionally merges the given auth-meta map into the authentication map's metadata (which by default will contain a single [:type :cemerick.friend/auth] entry
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 |