using System.Security.Claims; using AspNetCore.Authentication.ApiKey; namespace Elsa.Identity.Models; /// /// Represents a validated API key. /// /// API Key /// Owner of the API Key. It can be username or any other key owner name. /// Optional list of claims to be sent back with the authentication request. public record ApiKey(string Key, string OwnerName, IReadOnlyCollection Claims) : IApiKey;