Skip to main content
zerotal

Documentation


Documentation / @zerotal/auth / AuthConfigShape

Interface: AuthConfigShape

Defined in: auth/src/config.ts:8

Shape of config/auth.ts — package-level auth options. Build one with AuthConfig, which applies defaults (algorithm: 'argon2id').

Properties

algorithm

algorithm: "bcrypt" | "argon2id"

Defined in: auth/src/config.ts:10

Password hashing algorithm. Default: 'argon2id'


twoFactor?

optional twoFactor?: TwoFactorOptions

Defined in: auth/src/config.ts:13

Two-factor authentication configuration.