1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 00:52:49 -05:00

allow user registration for sso (#865)

This commit is contained in:
Kyle Spearrin
2020-08-13 17:30:10 -04:00
committed by GitHub
parent 4d8090d75e
commit cd926ca8f6
4 changed files with 37 additions and 6 deletions

View File

@ -19,6 +19,7 @@ namespace Bit.Core.Services
Task<DateTime> GetAccountRevisionDateByIdAsync(Guid userId);
Task SaveUserAsync(User user, bool push = false);
Task<IdentityResult> RegisterUserAsync(User user, string masterPassword, string token, Guid? orgUserId);
Task<IdentityResult> RegisterUserAsync(User user);
Task SendMasterPasswordHintAsync(string email);
Task SendTwoFactorEmailAsync(User user);
Task<bool> VerifyTwoFactorEmailAsync(User user, string token);