// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Security.Claims; namespace Microsoft.AspNetCore.Identity.Service { public class IdentityServiceApplicationClaim : IdentityServiceApplicationClaim { } public class IdentityServiceApplicationClaim where TApplicationKey : IEquatable { public int Id { get; set; } public TApplicationKey ApplicationId { get; set; } public string ClaimType { get; set; } public string ClaimValue { get; set; } public Claim ToClaim() => new Claim(ClaimType, ClaimValue); } }