Files
Shogi/Shogi.Contracts/Types/Session.cs
Lucas Morgan 51d234d871 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.
2024-08-25 03:46:44 +00:00

21 lines
354 B
C#

using System;
namespace Shogi.Contracts.Types;
public class Session
{
/// <summary>
/// Email
/// </summary>
public string Player1 { get; set; }
/// <summary>
/// Email. Null if no second player exists.
/// </summary>
public string? Player2 { get; set; }
public Guid SessionId { get; set; }
public BoardState BoardState { get; set; }
}