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