1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 05:13:31 +00:00

[PM-2713] refresh pin key when setting user key

This commit is contained in:
Jacob Fink
2023-07-18 13:03:30 -04:00
parent 5ba3fac0c0
commit d58f0b281b
4 changed files with 45 additions and 20 deletions

View File

@@ -9,7 +9,7 @@ namespace Bit.Core.Abstractions
{
public interface ICryptoService
{
Task SetUserKeyAsync(UserKey userKey);
Task SetUserKeyAsync(UserKey userKey, string userId = null);
Task<UserKey> GetUserKeyAsync(string userId = null);
Task<bool> HasUserKeyAsync(string userId = null);
Task<UserKey> MakeUserKeyAsync();