Liking cljdoc? Tell your friends :D

co.gaiwan.oak.domain.credential

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
raw docstring

attributesclj


create!clj

(create! db {:keys [id identity-id type value expires-at] :as opts})

create-or-update!clj

(create-or-update! db {:keys [identity-id type value] :as opts})

create-password-reset-nonce!clj

(create-password-reset-nonce! db {:keys [identity-id]})

delete!clj

(delete! db opts)

disable-totp!clj

(disable-totp! db {:keys [identity-id]})

enable-totp!clj

(enable-totp! db {:keys [identity-id secret]})

exist-totp?clj

(exist-totp? db {:keys [identity-id]})

find-oneclj

(find-one db opts)

resolve-password-reset-nonceclj

(resolve-password-reset-nonce db nonce)

set-password!clj

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

type-backup-codeclj

backup code used when authenticator lost

backup code used when authenticator lost
raw docstring

type-passwordclj


type-password-reset-nonceclj


type-totpclj

Time-base one time password

Time-base one time password
raw docstring

update!clj

(update! db {:keys [id identity-id type value expires-at] :as opts})

verify-passwordclj

(verify-password db {:keys [identity-id password]})

verify password to identity-id

verify password to identity-id
raw docstring

where-sqlclj

(where-sql {:keys [id identity-id type value expired]})

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