Store credentials, like password hashes, authenticator app codes, OTP codes, nonces for passwordless login, API keys, etc
Store credentials, like password hashes, authenticator app codes, OTP codes, nonces for passwordless login, API keys, etc
(create! db {:keys [id identity-id type value expires-at] :as opts})(create-or-update! db {:keys [identity-id type value] :as opts})(create-password-reset-nonce! db {:keys [identity-id]})(delete! db opts)(disable-totp! db {:keys [identity-id]})(enable-totp! db {:keys [identity-id secret]})(exist-totp? db {:keys [identity-id]})(find-one db opts)(resolve-password-reset-nonce db nonce)(set-password! db {:keys [identity-id password]})Set the password hash for a identity/user, creating a new credential, or updating the existing one.
Set the password hash for a identity/user, creating a new credential, or updating the existing one.
backup code used when authenticator lost
backup code used when authenticator lost
(update! db {:keys [id identity-id type value expires-at] :as opts})(verify-password db {:keys [identity-id password]})verify password to identity-id
verify password to identity-id
(where-sql {:keys [id identity-id type value expired]})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 |