mirror of
https://github.com/bitwarden/server
synced 2025-12-16 16:23:31 +00:00
* [PM-131] Remove fingerprint (#2759) * [PM-107][PM-131] Remove fingerprint property from auth request * [PM-107][PM-131] Remove fingerprint property from comparer * [PM-132] Drop fingerprint phrase (#2803) * [PM-132] Added migrations to remove fingerprint phrase from db * [PM-132] Remove fp from stored procedures
31 lines
753 B
C#
31 lines
753 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Bit.Core.Enums;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Bit.Api.Models.Request;
|
|
|
|
public class AuthRequestCreateRequestModel
|
|
{
|
|
[Required]
|
|
public string Email { get; set; }
|
|
[Required]
|
|
public string PublicKey { get; set; }
|
|
[Required]
|
|
public string DeviceIdentifier { get; set; }
|
|
[Required]
|
|
[StringLength(25)]
|
|
public string AccessCode { get; set; }
|
|
[Required]
|
|
public AuthRequestType? Type { get; set; }
|
|
}
|
|
|
|
public class AuthRequestUpdateRequestModel
|
|
{
|
|
public string Key { get; set; }
|
|
public string MasterPasswordHash { get; set; }
|
|
[Required]
|
|
public string DeviceIdentifier { get; set; }
|
|
[Required]
|
|
public bool RequestApproved { get; set; }
|
|
}
|