c# - SignalR and single user authentication -


i created sort of chat application in asp.net mvc5. have chosen single user authentication when creating project. people can register , login.

after created signalr hub. have map users single user authentication correct client in hub.

i want username or claims of it.

how can this? there many questions , answers this, never see single user authentication.

i've tried use microsoft.aspnet.signalr.authorize , system.web.mvc.authorize (that 1 use controllers to) attribute above hub. gave both 401 unauthorized.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -