2.0.0 • Published 6 months ago
@nathapp/nestjs-auth-2fa v2.0.0
nestjs-auth-2fa Library
using this library required to extends TwoFactorySettingProvider to retrieve User 2fa setting
TwoFactorGaurd will skip checking two factor when
- if user is not enable 2fa
- when not login
TwoFactorForceGaurd will force checking two factor regardless user enable 2fa or not
NOTED: both guard is not suitable to use on login, since unable to retreive user information on login request
Guard is not provided in module, required manually provide