mirror of
https://github.com/bitwarden/server
synced 2025-12-17 08:43:27 +00:00
push registration through relay apis
This commit is contained in:
19
src/Core/Models/Api/Request/PushRegistrationRequestModel.cs
Normal file
19
src/Core/Models/Api/Request/PushRegistrationRequestModel.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Bit.Core.Enums;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Bit.Core.Models.Api
|
||||
{
|
||||
public class PushRegistrationRequestModel
|
||||
{
|
||||
[Required]
|
||||
public string DeviceId { get; set; }
|
||||
[Required]
|
||||
public string PushToken { get; set; }
|
||||
[Required]
|
||||
public string UserId { get; set; }
|
||||
[Required]
|
||||
public DeviceType Type { get; set; }
|
||||
[Required]
|
||||
public string Identifier { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user