mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
Add summary comments for MasterKeyWrappedUserKey in response models (#6531)
This commit is contained in:
@@ -7,6 +7,10 @@ namespace Bit.Core.KeyManagement.Models.Api.Response;
|
|||||||
public class MasterPasswordUnlockResponseModel
|
public class MasterPasswordUnlockResponseModel
|
||||||
{
|
{
|
||||||
public required MasterPasswordUnlockKdfResponseModel Kdf { get; init; }
|
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; }
|
[EncryptedString] public required string MasterKeyEncryptedUserKey { get; init; }
|
||||||
[StringLength(256)] public required string Salt { 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 Email { get; set; }
|
||||||
public required string MasterKeyAuthenticationHash { 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 required string MasterKeyEncryptedUserKey { get; set; }
|
||||||
public string? MasterPasswordHint { get; set; }
|
public string? MasterPasswordHint { get; set; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user