mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 17:23:18 +00:00
push notification services
This commit is contained in:
7
src/Core/Models/Request/DeviceTokenRequest.cs
Normal file
7
src/Core/Models/Request/DeviceTokenRequest.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Bit.Core.Models.Request
|
||||
{
|
||||
public class DeviceTokenRequest
|
||||
{
|
||||
public string PushToken { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -4,10 +4,12 @@ using System.Collections.Generic;
|
||||
|
||||
namespace Bit.Core.Models.Response
|
||||
{
|
||||
public class PushNotificationResponse
|
||||
public class NotificationResponse
|
||||
{
|
||||
public string ContextId { get; set; }
|
||||
public NotificationType Type { get; set; }
|
||||
public string Payload { get; set; }
|
||||
public object PayloadObject { get; set; }
|
||||
}
|
||||
|
||||
public class SyncCipherNotification
|
||||
|
||||
Reference in New Issue
Block a user