Random Utilities, authentication entry point.
Random Utilities, authentication entry point.
(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`.
(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`.
(config src)(config src _)Returns authentication configuration.
Returns authentication configuration.
(init-auth k config)Authentication configurator.
Authentication configurator.
(init-config config)Prepares authentication settings.
Prepares authentication settings.
(init-passwords k config)(init-passwords k config log-fn)Initializes password suite from config.
Initializes password suite from config.
(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`.
(make-locking m)Builds AuthLocking record from auth config map.
Builds `AuthLocking` record from auth config map.
(make-password password auth-config)Creates encrypted password suite.
Creates encrypted password suite.
(make-password-json password auth-config)Creates encrypted password suite in JSON form.
Creates encrypted password suite in JSON form.
(make-passwords m)Builds AuthPasswords record from passwords config map.
Builds `AuthPasswords` record from passwords config map.
(settings src)Returns authentication settings map for a source src.
Returns authentication settings map for a source `src`.
(settings? v)Returns true when v can be treated as auth settings map.
Returns `true` when `v` can be treated as auth settings map.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |