2.0.0 • Published 10 months ago

@nathapp/nestjs-auth-2fa v2.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

nestjs-auth-2fa Library

  1. using this library required to extends TwoFactorySettingProvider to retrieve User 2fa setting

  2. TwoFactorGaurd will skip checking two factor when

    • if user is not enable 2fa
    • when not login
  3. TwoFactorForceGaurd will force checking two factor regardless user enable 2fa or not

  4. NOTED: both guard is not suitable to use on login, since unable to retreive user information on login request

  5. Guard is not provided in module, required manually provide

2.0.0

10 months ago

1.0.0

12 months ago