Files
server/src/Core/Repositories/IDeviceRepository.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
416 B
C#
Raw Normal View History

using Bit.Core.Entities;
namespace Bit.Core.Repositories;
2022-08-29 16:06:55 -04:00
public interface IDeviceRepository : IRepository<Device, Guid>
{
Task<Device> GetByIdAsync(Guid id, Guid userId);
2017-06-02 16:52:54 -04:00
Task<Device> GetByIdentifierAsync(string identifier);
Task<Device> GetByIdentifierAsync(string identifier, Guid userId);
Task<ICollection<Device>> GetManyByUserIdAsync(Guid userId);
2017-06-02 16:52:54 -04:00
Task ClearPushTokenAsync(Guid id);
}