1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-02 13:53:23 +01:00
bitwarden-server/src/Core/Services/IEventService.cs

18 lines
621 B
C#
Raw Normal View History

using System;
using System.Threading.Tasks;
using Bit.Core.Enums;
2017-12-01 20:06:16 +01:00
using Bit.Core.Models.Table;
namespace Bit.Core.Services
{
public interface IEventService
{
Task LogUserEventAsync(Guid userId, EventType type);
2017-12-01 20:06:16 +01:00
Task LogCipherEventAsync(Cipher cipher, EventType type);
Task LogCollectionEventAsync(Collection collection, EventType type);
Task LogGroupEventAsync(Group group, EventType type);
Task LogOrganizationUserEventAsync(OrganizationUser organizationUser, EventType type);
Task LogOrganizationEventAsync(Organization organization, EventType type);
}
}