Skip to main content

Module verification

Module verification 

Source
Expand description

Initialized verification policy, raw snapshots and adapter publication phases.

Adapter models remain physical database projections. Secondary-only values carry the actual admitted data, including an absent primary ID.

Structs§

VerificationCreation
Trusted creation candidate supplied to adapter hooks before persistence. Dates and an explicitly supplied primary ID survive hook transformations.
VerificationIdentifierPolicy
Prefix overrides have JavaScript Object.entries order: integer keys first in numeric order, then other keys in their registered insertion order.
VerificationPublication
The adapter owns this phase between its real write and after-create hooks. It is also used inside transactions, before commit/deferred after hooks.
VerificationService
VerificationSnapshot
Actual verification data, without manufacturing a database model or ID. Cached find preserves every truthy JSON value and safeJSONParse’s ISO date reviver. Consume separately hydrates expiresAt before its liveness gate.

Enums§

VerificationIdentifierStrategy

Traits§

VerificationIdentifierHasher
Application-owned asynchronous identifier transform. Errors stop the operation before any cache or database mutation.