mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 06:17:55 +00:00
[WIP] feat: scoped api keys
This commit is contained in:
parent
e7ee593a85
commit
06cb160f95
45 changed files with 1264 additions and 154 deletions
15
PluralKit.Core/Models/PKApiKey.cs
Normal file
15
PluralKit.Core/Models/PKApiKey.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using NodaTime;
|
||||
|
||||
namespace PluralKit.Core;
|
||||
|
||||
public class PKApiKey
|
||||
{
|
||||
public Guid Id { get; private set; }
|
||||
public SystemId System { get; private set; }
|
||||
public string Kind { get; private set; }
|
||||
public string[] Scopes { get; private set; }
|
||||
public Guid? App { get; private set; }
|
||||
public string Name { get; private set; }
|
||||
|
||||
public Instant Created { get; private set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue