mirror of
https://github.com/bitwarden/server.git
synced 2025-04-14 01:28:14 -05:00

* WIP registration updates * fix deviceHubs * addHub inline in ctor * adjust setttings for hub reg * send to all clients * fix multiservice push * use notification hub type * feedback --------- Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
28 lines
806 B
C#
28 lines
806 B
C#
using Bit.Core.Enums;
|
|
|
|
namespace Bit.Core.Services;
|
|
|
|
public class NoopPushRegistrationService : IPushRegistrationService
|
|
{
|
|
public Task AddUserRegistrationOrganizationAsync(IEnumerable<KeyValuePair<string, DeviceType>> devices, string organizationId)
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public Task CreateOrUpdateRegistrationAsync(string pushToken, string deviceId, string userId,
|
|
string identifier, DeviceType type)
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public Task DeleteRegistrationAsync(string deviceId, DeviceType deviceType)
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public Task DeleteUserRegistrationOrganizationAsync(IEnumerable<KeyValuePair<string, DeviceType>> devices, string organizationId)
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
}
|