2015-12-08 22:57:38 -05:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Threading.Tasks;
|
2017-03-08 21:45:08 -05:00
|
|
|
|
using Bit.Core.Models.Table;
|
2015-12-08 22:57:38 -05:00
|
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Repositories
|
|
|
|
|
|
{
|
2016-05-21 17:16:22 -04:00
|
|
|
|
public interface IUserRepository : IRepository<User, Guid>
|
2015-12-08 22:57:38 -05:00
|
|
|
|
{
|
|
|
|
|
|
Task<User> GetByEmailAsync(string email);
|
2017-03-04 21:28:41 -05:00
|
|
|
|
Task<string> GetPublicKeyAsync(Guid id);
|
2017-01-14 10:02:37 -05:00
|
|
|
|
Task<DateTime> GetAccountRevisionDateAsync(Guid id);
|
2017-07-10 16:21:18 -04:00
|
|
|
|
Task UpdateStorageAsync(Guid id, long storageIncrease);
|
2015-12-08 22:57:38 -05:00
|
|
|
|
}
|
|
|
|
|
|
}
|