11 lines
No EOL
295 B
C#
11 lines
No EOL
295 B
C#
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; }
|
|
} |