[.Net/SignalR] 如何为SignalR 的Client Side添加Header和AccessToken, 以及如何为Server 的SignalR添加Auth Ref: SignalR - authenticating with access token (讲解了如何在Javascript中添加其他字段) Authentication and authorization in ASP.NET Core SignalR Struggling to authenticate chat: Context.User.Identity.Name is null in SignalR Core hub