Home > Net >  ASP. Net Core WebSocket how to increase the Token authentication mechanism?
ASP. Net Core WebSocket how to increase the Token authentication mechanism?

Time:12-10

Hi,

Recently started to contact ASP. Net Core, use the following author WebSocket middleware,
https://github.com/radu-matei/websocket-manager/tree/dotnetcore3

Refer to the following author BearToken additionally,
https://github.com/cornflourblue/aspnet-core-3-jwt-refresh-tokens-api

WebSocket middleware part, when I try to send the attachment request, to Invoke WebSocketManagerMiddleware class has received the request, but it did not enter the token authentication mechanism, would like to ask how to use existing JWT token to confirm the token attachment is effective?

General Web API as long as over the Method of the Controller and the Authorize attribute, but this section does not know what to do...

Not want to use SignalR, because don't want to force the attachment reference user SignalR..

Trouble plate on superior to reassure teaching again, thank you,
  • Related