Add project files
This commit is contained in:
parent
4dafed3553
commit
8cf01ead74
40 changed files with 3967 additions and 0 deletions
11
StalwartSimpleLoginMiddleware/Models/DbApiKey.cs
Normal file
11
StalwartSimpleLoginMiddleware/Models/DbApiKey.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using System.Security.Claims;
|
||||
using AspNetCore.Authentication.ApiKey;
|
||||
|
||||
namespace StalwartSimpleLoginMiddleware.Models;
|
||||
|
||||
public class DbApiKey : IApiKey
|
||||
{
|
||||
public string Key { get; set; }
|
||||
public string OwnerName { get; set; }
|
||||
public IReadOnlyCollection<Claim> Claims { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue