mirror of
https://github.com/bitwarden/server
synced 2025-12-16 00:03:54 +00:00
53 lines
1.5 KiB
C#
53 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Bit.Core.Enums;
|
|
using Bit.Core.Models.Table;
|
|
|
|
namespace Bit.Core.Services
|
|
{
|
|
public class NoopEventService : IEventService
|
|
{
|
|
public Task LogCipherEventAsync(Cipher cipher, EventType type, DateTime? date = null)
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public Task LogCipherEventsAsync(IEnumerable<Tuple<Cipher, EventType, DateTime?>> events)
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public Task LogCollectionEventAsync(Collection collection, EventType type, DateTime? date = null)
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public Task LogPolicyEventAsync(Policy policy, EventType type, DateTime? date = null)
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public Task LogGroupEventAsync(Group group, EventType type, DateTime? date = null)
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public Task LogOrganizationEventAsync(Organization organization, EventType type, DateTime? date = null)
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public Task LogOrganizationUserEventAsync(OrganizationUser organizationUser, EventType type,
|
|
DateTime? date = null)
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
|
|
public Task LogUserEventAsync(Guid userId, EventType type, DateTime? date = null)
|
|
{
|
|
return Task.FromResult(0);
|
|
}
|
|
}
|
|
}
|