1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

add logout notification

This commit is contained in:
Kyle Spearrin
2018-08-28 08:22:49 -04:00
parent 3e2b220074
commit 18713054f6
10 changed files with 62 additions and 27 deletions

View File

@ -107,6 +107,12 @@ namespace Bit.Core.Services
return Task.FromResult(0);
}
public Task PushLogOutAsync(Guid userId)
{
PushToServices((s) => s.PushLogOutAsync(userId));
return Task.FromResult(0);
}
public Task SendPayloadToUserAsync(string userId, PushType type, object payload, string identifier)
{
PushToServices((s) => s.SendPayloadToUserAsync(userId, type, payload, identifier));