mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-11-15 12:17:22 +01:00
Co-authored-by: Kieran <kieran@harkin.me> Reviewed-on: https://git.v0l.io/Kieran/void.cat/pulls/65
17 lines
376 B
C#
17 lines
376 B
C#
using VoidCat.Database;
|
|
|
|
namespace VoidCat.Services.Abstractions;
|
|
|
|
/// <summary>
|
|
/// Api key store
|
|
/// </summary>
|
|
public interface IApiKeyStore : IBasicStore<ApiKey>
|
|
{
|
|
/// <summary>
|
|
/// Return a list of Api keys for a given user
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
ValueTask<IReadOnlyList<ApiKey>> ListKeys(Guid id);
|
|
}
|