Replace custom socket implementation with SignalR.
Replace MSAL and custom cookie auth with Microsoft.Identity.EntityFramework Also some UI redesign to accommodate different login experience.
This commit is contained in:
22
Shogi.UI/Identity/UserInfo.cs
Normal file
22
Shogi.UI/Identity/UserInfo.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace Shogi.UI.Identity;
|
||||
|
||||
/// <summary>
|
||||
/// User info from identity endpoint to establish claims.
|
||||
/// </summary>
|
||||
public class UserInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// The email address.
|
||||
/// </summary>
|
||||
public string Email { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// A value indicating whether the email has been confirmed yet.
|
||||
/// </summary>
|
||||
public bool IsEmailConfirmed { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The list of claims for the user.
|
||||
/// </summary>
|
||||
public Dictionary<string, string> Claims { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user