/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Identity/test/Shared/PocoModel/PocoUserClaim.cs
38 строк
1004 B
Mackinnon Buck
Add passkeys to ASP.NET Core Identity (#62112)
25 июн 2025, 20:35
Не верифицирован
25 июн 2025, 20:35
82de6f4
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable disable namespace Microsoft.AspNetCore.Identity.Test; /// <summary> /// EntityType that represents one specific user claim /// </summary> public class PocoUserClaim : PocoUserClaim<string> { } /// <summary> /// EntityType that represents one specific user claim /// </summary> /// <typeparam name="TKey"></typeparam> public class PocoUserClaim<TKey> where TKey : IEquatable<TKey> { /// <summary> /// Primary key /// </summary> public virtual int Id { get; set; } /// <summary> /// User Id for the user who owns this claim /// </summary> public virtual TKey UserId { get; set; } /// <summary> /// Claim type /// </summary> public virtual string ClaimType { get; set; } /// <summary> /// Claim value /// </summary> public virtual string ClaimValue { get; set; } }