Liking cljdoc? Tell your friends :D

co.gaiwan.oak.domain.backup-code

Backup code that used together with 2FA

Backup code that used together with 2FA
raw docstring

attributesclj


backup-code-countclj


code->hashclj

(code->hash code)

create!clj

(create! db {:keys [_ identity-id code-hash]})

delete!clj

(delete! db opts)

find-allclj

(find-all db opts)

find-oneclj

(find-one db opts)

gen-codeclj

(gen-code)

gen-codesclj

(gen-codes)

generate!clj

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

generate the backup codes and store their hash

generate the backup codes and store their hash
raw docstring

update!clj

(update! db {:keys [id :used] :as opts})

valid-countclj

(valid-count db {:keys [identity-id]})

verify-codeclj

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

verify code to identity-id

verify code to identity-id
raw docstring

where-sqlclj

(where-sql {:keys [id identity-id code-hash used]})

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