1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-29 16:52:16 -05:00
bitwarden/src/Core/Repositories/IGrantRepository.cs
Justin Baur 231eb84e69
Turn On ImplicitUsings (#2079)
* Turn on ImplicitUsings

* Fix formatting

* Run linter
2022-06-29 19:46:41 -04:00

14 lines
449 B
C#

using Bit.Core.Entities;
namespace Bit.Core.Repositories
{
public interface IGrantRepository
{
Task<Grant> GetByKeyAsync(string key);
Task<ICollection<Grant>> GetManyAsync(string subjectId, string sessionId, string clientId, string type);
Task SaveAsync(Grant obj);
Task DeleteByKeyAsync(string key);
Task DeleteManyAsync(string subjectId, string sessionId, string clientId, string type);
}
}