mirror of
https://github.com/bitwarden/server.git
synced 2025-04-29 08:42:19 -05:00
13 lines
415 B
C#
13 lines
415 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);
|
|
}
|