2016-06-18 23:10:09 +03:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Bit.App.Models.Api;
|
2016-06-22 05:29:29 +03:00
|
|
|
|
using Bit.App.Repositories;
|
2016-06-18 23:10:09 +03:00
|
|
|
|
|
|
|
|
|
namespace Bit.App.Abstractions
|
|
|
|
|
{
|
|
|
|
|
public interface IDeviceApiRepository : IApiRepository<DeviceRequest, DeviceResponse, string>
|
2016-06-22 05:29:29 +03:00
|
|
|
|
{
|
2016-08-07 01:45:23 +03:00
|
|
|
|
Task<ApiResult> PutTokenAsync(string identifier, DeviceTokenRequest request);
|
2016-08-06 22:21:59 +03:00
|
|
|
|
Task<ApiResult> PutClearTokenAsync(string identifier);
|
2016-06-22 05:29:29 +03:00
|
|
|
|
}
|
2016-06-18 23:10:09 +03:00
|
|
|
|
}
|