mirror of
https://github.com/bitwarden/server
synced 2025-12-16 16:23:31 +00:00
add logout notification
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user