Liking cljdoc? Tell your friends :D

io.randomseed.utils.auth

Random Utilities, authentication entry point.

Random Utilities, authentication entry point.
raw docstring

check-passwordclj

(check-password password pwd-suites auth-config)
(check-password password pwd-shared-suite pwd-user-suite auth-config)

Checks plain password against suite(s) using auth-config.

Checks plain `password` against suite(s) using `auth-config`.
sourceraw docstring

check-password-jsonclj

(check-password-json password json-pwd-suites auth-config)
(check-password-json password
                     json-pwd-shared-suite
                     json-pwd-user-suite
                     auth-config)

Checks plain password against JSON suite(s) using auth-config.

Checks plain `password` against JSON suite(s) using `auth-config`.
sourceraw docstring

configclj

(config src)
(config src _)

Returns authentication configuration.

Returns authentication configuration.
sourceraw docstring

init-authclj

(init-auth k config)

Authentication configurator.

Authentication configurator.
sourceraw docstring

init-configclj

(init-config config)

Prepares authentication settings.

Prepares authentication settings.
sourceraw docstring

init-passwordsclj

(init-passwords k config)
(init-passwords k config log-fn)

Initializes password suite from config.

Initializes password suite from config.
sourceraw docstring

make-authclj

(make-auth m)
(make-auth k m)

Builds normalized auth config map with :id, :passwords and :locking.

Builds normalized auth config map with `:id`, `:passwords` and `:locking`.
sourceraw docstring

make-lockingclj

(make-locking m)

Builds AuthLocking record from auth config map.

Builds `AuthLocking` record from auth config map.
sourceraw docstring

make-passwordclj

(make-password password auth-config)

Creates encrypted password suite.

Creates encrypted password suite.
sourceraw docstring

make-password-jsonclj

(make-password-json password auth-config)

Creates encrypted password suite in JSON form.

Creates encrypted password suite in JSON form.
sourceraw docstring

make-passwordsclj

(make-passwords m)

Builds AuthPasswords record from passwords config map.

Builds `AuthPasswords` record from passwords config map.
sourceraw docstring

settingsclj

(settings src)

Returns authentication settings map for a source src.

Returns authentication settings map for a source `src`.
sourceraw docstring

settings?clj

(settings? v)

Returns true when v can be treated as auth settings map.

Returns `true` when `v` can be treated as auth settings map.
sourceraw docstring

setupclj

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close