(bcrypt password)
Performs BCrypt hashing of password.
Performs BCrypt hashing of password.
(create-user user password)
(create-user user password roles permissions)
Creates new user
Creates new user
(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-users users)
Initializes configured users.
Initializes configured users.
(purge-users)
Removes users from store. Used for tests only.
Removes users from store. Used for tests only.
(valid-password? candidate hashed)
Verify that candidate password matches the hashed bcrypted password
Verify that candidate password matches the hashed bcrypted password
(with-user-store store & body)
Changes default binding to default users store.
Changes default binding to default users store.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close