Documentation / zerotal / auth / AuthConfigShape
Interface: AuthConfigShape
Defined in: packages/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: packages/auth/src/config.ts:10
Password hashing algorithm. Default: 'argon2id'
twoFactor?
optionaltwoFactor?:TwoFactorOptions
Defined in: packages/auth/src/config.ts:13
Two-factor authentication configuration.