mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
cipher events
This commit is contained in:
@ -1,12 +1,13 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Bit.Core.Enums;
|
||||
using Bit.Core.Models.Table;
|
||||
|
||||
namespace Bit.Core.Services
|
||||
{
|
||||
public interface IEventService
|
||||
{
|
||||
Task LogUserEventAsync(Guid userId, EventType type);
|
||||
Task LogUserEventAsync(Guid userId, CurrentContext currentContext, EventType type);
|
||||
Task LogCipherEventAsync(Cipher cipher, EventType type);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user