Liking cljdoc? Tell your friends :D

cerber.stores.user


*user-store*clj

source

->mapclj

(->map result)
source

bcryptclj

(bcrypt password)

Performs BCrypt hashing of password.

Performs BCrypt hashing of password.
sourceraw docstring

create-userclj

(create-user user password)
(create-user user password roles permissions)

Creates new user

Creates new user
sourceraw docstring

disable-userclj

(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.
sourceraw docstring

enable-userclj

(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.
sourceraw docstring

find-userclj

(find-user login)

Returns users with given login, if found or nil otherwise.

Returns users with given login, if found or nil otherwise.
sourceraw docstring

init-usersclj

(init-users users)

Initializes configured users.

Initializes configured users.
sourceraw docstring

purge-usersclj

(purge-users)

Removes users from store. Used for tests only.

Removes users from store. Used for tests only.
sourceraw docstring

revoke-userclj

(revoke-user user)

Removes user from store

Removes user from store
sourceraw docstring

valid-password?clj

(valid-password? candidate hashed)

Verify that candidate password matches the hashed bcrypted password

Verify that candidate password matches the hashed bcrypted password
sourceraw docstring

with-user-storeclj/smacro

(with-user-store store & body)

Changes default binding to default users store.

Changes default binding to default users store.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close