using Bit.Core.Entities; using Bit.Core.KeyManagement.Models.Data; using Microsoft.AspNetCore.Identity; namespace Bit.Core.KeyManagement.Kdf; /// /// Command to change the Key Derivation Function (KDF) settings for a user. This includes /// changing the masterpassword authentication hash, and the masterkey encrypted userkey. /// The salt must not change during the KDF change. /// public interface IChangeKdfCommand { public Task ChangeKdfAsync(User user, string masterPasswordAuthenticationHash, MasterPasswordAuthenticationData authenticationData, MasterPasswordUnlockData unlockData); }