mirror of
https://github.com/bitwarden/server.git
synced 2024-12-01 13:43:23 +01:00
16 lines
592 B
C#
16 lines
592 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Bit.Core.Enums;
|
|
|
|
namespace Bit.Core.Services
|
|
{
|
|
public interface IPushRegistrationService
|
|
{
|
|
Task CreateOrUpdateRegistrationAsync(string pushToken, string deviceId, string userId,
|
|
string identifier, DeviceType type);
|
|
Task DeleteRegistrationAsync(string deviceId);
|
|
Task AddUserRegistrationOrganizationAsync(IEnumerable<string> deviceIds, string organizationId);
|
|
Task DeleteUserRegistrationOrganizationAsync(IEnumerable<string> deviceIds, string organizationId);
|
|
}
|
|
}
|