mirror of
https://github.com/bitwarden/server.git
synced 2026-02-12 11:53:23 +08:00
* Device deactivation * Check active status in service * Format and work around potential deadlocks
16 lines
475 B
C#
16 lines
475 B
C#
using Bit.Core.Auth.Models.Api.Request;
|
|
using Bit.Core.Entities;
|
|
|
|
namespace Bit.Core.Services;
|
|
|
|
public interface IDeviceService
|
|
{
|
|
Task SaveAsync(Device device);
|
|
Task ClearTokenAsync(Device device);
|
|
Task DeactivateAsync(Device device);
|
|
Task UpdateDevicesTrustAsync(string currentDeviceIdentifier,
|
|
Guid currentUserId,
|
|
DeviceKeysUpdateRequestModel currentDeviceUpdate,
|
|
IEnumerable<OtherDeviceKeysUpdateRequestModel> alteredDevices);
|
|
}
|