Skip to content

Commit c7cd44b

Browse files
committed
feat: refactor TwoFactorsAuthPlugin by modularizing passkey and TOTP functionalities
- Moved passkey-related functions to a new file: passkeys.ts - Moved TOTP-related functions to a new file: totp.ts - Created mfa-grace.ts for handling MFA grace period logic - Introduced config-validation.ts for validating plugin configuration - Updated TwoFactorsAuthPlugin to utilize the new modular functions - Improved error handling and validation for passkeys and TOTP processes
1 parent 2ef7b76 commit c7cd44b

5 files changed

Lines changed: 389 additions & 299 deletions

File tree

0 commit comments

Comments
 (0)