Liking cljdoc? Tell your friends :D

cerber.stores.user

Functions handling OAuth2 user storage.

Functions handling OAuth2 user storage.
raw docstring

create-userclj

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

create-user-storecljmultimethod

source

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-storeclj

(init-store type config)

Initializes user store according to given type and configuration.

Initializes user store according to given type and configuration.
sourceraw docstring

normalizeclj

(normalize user)
source

purge-usersclj

(purge-users)

Removes users from store.

Removes users from store.
sourceraw docstring

revoke-userclj

(revoke-user user)

Removes user from store

Removes user from store
sourceraw docstring

user-storeclj

source

valid-password?clj

(valid-password? password hashed)

Verifies that given password matches the hashed one.

Verifies that given password matches the hashed one.
sourceraw docstring

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

× close