mirror of
https://github.com/bitwarden/server.git
synced 2025-12-10 00:42:07 -06:00
Add summary comments for MasterKeyWrappedUserKey in response models (#6531)
This commit is contained in:
parent
b4d6f3cb35
commit
7e54773a6e
@ -7,6 +7,10 @@ namespace Bit.Core.KeyManagement.Models.Api.Response;
|
||||
public class MasterPasswordUnlockResponseModel
|
||||
{
|
||||
public required MasterPasswordUnlockKdfResponseModel Kdf { get; init; }
|
||||
/// <summary>
|
||||
/// The user's symmetric key encrypted with their master key.
|
||||
/// Also known as "MasterKeyWrappedUserKey"
|
||||
/// </summary>
|
||||
[EncryptedString] public required string MasterKeyEncryptedUserKey { get; init; }
|
||||
[StringLength(256)] public required string Salt { get; init; }
|
||||
}
|
||||
|
||||
@ -13,6 +13,10 @@ public class MasterPasswordUnlockAndAuthenticationData
|
||||
|
||||
public required string Email { get; set; }
|
||||
public required string MasterKeyAuthenticationHash { get; set; }
|
||||
/// <summary>
|
||||
/// The user's symmetric key encrypted with their master key.
|
||||
/// Also known as "MasterKeyWrappedUserKey"
|
||||
/// </summary>
|
||||
public required string MasterKeyEncryptedUserKey { get; set; }
|
||||
public string? MasterPasswordHint { get; set; }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user