mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 09:02:48 -05:00
move some 2fa logic functions to userService
This commit is contained in:
@ -55,5 +55,7 @@ namespace Bit.Core.Services
|
||||
Task<UserLicense> GenerateLicenseAsync(User user, BillingInfo billingInfo = null);
|
||||
Task<bool> CheckPasswordAsync(User user, string password);
|
||||
Task<bool> CanAccessPremium(User user);
|
||||
Task<bool> TwoFactorIsEnabledAsync(User user);
|
||||
Task<bool> TwoFactorProviderIsEnabledAsync(TwoFactorProviderType provider, User user);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user