mirror of
https://github.com/bitwarden/server
synced 2025-12-13 23:03:36 +00:00
clear token by id
This commit is contained in:
@@ -8,8 +8,9 @@ namespace Bit.Core.Repositories
|
||||
public interface IDeviceRepository : IRepository<Device, Guid>
|
||||
{
|
||||
Task<Device> GetByIdAsync(Guid id, Guid userId);
|
||||
Task<Device> GetByIdentifierAsync(string identifier);
|
||||
Task<Device> GetByIdentifierAsync(string identifier, Guid userId);
|
||||
Task<ICollection<Device>> GetManyByUserIdAsync(Guid userId);
|
||||
Task ClearPushTokenByIdentifierAsync(string identifier);
|
||||
Task ClearPushTokenAsync(Guid id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user