mirror of
https://github.com/bitwarden/server.git
synced 2025-07-12 21:27:35 -05:00

* Send rotateable keyset on list webauthn keys * Implement basic prf key rotation * Add validator for webauthn rotation * Fix accounts controller tests * Add webauthn rotation validator tests * Introduce separate request model * Fix tests * Remove extra empty line * Remove filtering in validator * Don't send encrypted private key * Fix tests * Implement delegated webauthn db transactions * Add backward compatibility * Fix query not working * Update migration sql * Update dapper query * Remove unused helper * Rename webauthn to WebAuthnLogin * Fix linter errors * Fix tests * Fix tests
20 lines
706 B
C#
20 lines
706 B
C#
using Bit.Core.Auth.Entities;
|
|
using Bit.Core.Entities;
|
|
using Bit.Core.Tools.Entities;
|
|
using Bit.Core.Vault.Entities;
|
|
|
|
namespace Bit.Core.Auth.Models.Data;
|
|
|
|
public class RotateUserKeyData
|
|
{
|
|
public string MasterPasswordHash { get; set; }
|
|
public string Key { get; set; }
|
|
public string PrivateKey { get; set; }
|
|
public IEnumerable<Cipher> Ciphers { get; set; }
|
|
public IEnumerable<Folder> Folders { get; set; }
|
|
public IReadOnlyList<Send> Sends { get; set; }
|
|
public IEnumerable<EmergencyAccess> EmergencyAccesses { get; set; }
|
|
public IReadOnlyList<OrganizationUser> OrganizationUsers { get; set; }
|
|
public IEnumerable<WebAuthnLoginRotateKeyData> WebAuthnKeys { get; set; }
|
|
}
|