trying to merge identity in api

This commit is contained in:
Michele 2020-11-11 01:25:25 +00:00
parent 9d4fd1e6c0
commit 5f6095f3ef
39 changed files with 868 additions and 282 deletions

View file

@ -11,11 +11,16 @@ using System;
using Sledgemapper.Api.Data;
using System.Text.Json;
using System.Text.Json.Serialization;
using Microsoft.AspNetCore.Authorization;
namespace SignalRChat.Hubs
{
[Authorize]
public class SledgemapperHub : Hub<ISledgemapperClient>
{
public SledgemapperHub() { }
public SledgemapperHub() {
}
private static Dictionary<string, Session> _sessions = new Dictionary<string, Session>();
public List<string> Colors = new List<string>{"CC0000",
"CC3300",