Functions handling OAuth2 user storage.
Functions handling OAuth2 user storage.
(create-user
{:keys [login name email roles enabled?] :as details :or {enabled? true}}
password)
Creates and returns a new user, enabled by default.
Creates and returns a new user, enabled by default.
(disable-user user)
Disables user. Returns true if user has been disabled successfully or false otherwise.
Disables user. Returns true if user has been disabled successfully or false otherwise.
(enable-user user)
Enables user. Returns true if user has been enabled successfully or false otherwise.
Enables user. Returns true if user has been enabled successfully or false otherwise.
(find-user login)
Returns users with given login if found or nil otherwise.
Returns users with given login if found or nil otherwise.
(init-store type config)
Initializes user store according to given type and configuration.
Initializes user store according to given type and configuration.
(valid-password? password hashed)
Verifies that given password matches the hashed one.
Verifies that given password matches the hashed one.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close