Softanza
StartFrançais
Softanza
The library documents itself · Security & governance

stzAuthDbStore

37 own methods · 0 forms written with extensions, listed under their method

the source: base/security/stzAuthStore.ring(opens in a new tab) · All classes · The area reference: Security & governance

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

No method of this class is run on this page: the class reaches files, the network, processes, the clock, chance or sound, and an example run here would only be an example of its effects. Each method carries the explanation the library gives of itself.

Method
Explanation, as the source carries it
init
pcPath = a file path (durable) or ":memory:" (a real sqlite, but process- local). The tables are created on first use.no extension
DatabaseQ
(no comment in the source: the name reads as a sentence) database qno extension
PutUser
Every statement below BINDS its values (stzDatabase.ExecWith/RowsWith): a value is never spliced into the SQL text, so none needs escaping and none can change what a statement says. They used to be ~49 strings built by concatenation through a hand-written quote-doubler, _Esc().no extension
UserHash
(no comment in the source: the name reads as a sentence) user hashno extension
HasUser
(no comment in the source: the name reads as a sentence) has userno extension
DeleteUser
(no comment in the source: the name reads as a sentence) delete userno extension
CountUsers
(no comment in the source: the name reads as a sentence) count usersno extension
PutSession
sessionsno extension
Session
(no comment in the source: the name reads as a sentence) sessionno extension
TouchSession
(no comment in the source: the name reads as a sentence) touch sessionno extension
DeleteSession
(no comment in the source: the name reads as a sentence) delete sessionno extension
DeleteUserSessions
(no comment in the source: the name reads as a sentence) delete user sessionsno extension
CountSessions
(no comment in the source: the name reads as a sentence) count sessionsno extension
Sessions
(no comment in the source: the name reads as a sentence) sessionsno extension
SessionsOf
(no comment in the source: the name reads as a sentence) sessions ofno extension
PutTotp
Recovery-code hashes are stored comma-joined in one TEXT column -- a hash is "salt:hash" (hex only), so a comma can never occur inside one.no extension
Totp
(no comment in the source: the name reads as a sentence) totpno extension
SetTotpConfirmed
(no comment in the source: the name reads as a sentence) set totp confirmedno extension
SetTotpRecovery
(no comment in the source: the name reads as a sentence) set totp recoveryno extension
DeleteTotp
(no comment in the source: the name reads as a sentence) delete totpno extension
PutChallenge
passwordless challenges (magic-link / email-OTP)no extension
Challenge
(no comment in the source: the name reads as a sentence) challengeno extension
DeleteChallenge
(no comment in the source: the name reads as a sentence) delete challengeno extension
PutPasskey
passkeys (WebAuthn credentials)no extension
Passkey
(no comment in the source: the name reads as a sentence) passkeyno extension
PasskeysOf
(no comment in the source: the name reads as a sentence) passkeys ofno extension
SetPasskeyCounter
(no comment in the source: the name reads as a sentence) set passkey counterno extension
DeletePasskey
(no comment in the source: the name reads as a sentence) delete passkeyno extension
DeleteUserPasskeys
(no comment in the source: the name reads as a sentence) delete user passkeysno extension
PutLock
administrative locks (containment)no extension
DeleteLock
(no comment in the source: the name reads as a sentence) delete lockno extension
LockOf
(no comment in the source: the name reads as a sentence) lock ofno extension
GrantRole
authz roles (the authn->authz bridge)no extension
RevokeRole
(no comment in the source: the name reads as a sentence) revoke roleno extension
HasRole
(no comment in the source: the name reads as a sentence) has roleno extension
RolesOf
(no comment in the source: the name reads as a sentence) roles ofno extension
DeleteUserRoles
(no comment in the source: the name reads as a sentence) delete user rolesno extension