SignalR
The SignalR service incorporates the required functionality to allow for:
- SignalR and/or REST requests to your service
- JWT Authentication of those requests
- The handling of the operations that are to be executed when a request is received
Properties
Section titled “Properties ”Hub URL
Section titled “Hub URL ”SignalR hub URL, e.g. http://localhost/chatHub.
What is a hub?
SignalR uses hubs to communicate between clients and servers. learn more.
Security
Section titled “Security ”The type of security used for authentication.
Select either None or JWT Authentication.
When selecting JWT Authentication, provide the following:
Secret key
Section titled “Secret key ”Secret key used to validate the JWT token.
Claims
Section titled “Claims ”Comma-separated list of claim names to resolve on the event input, e.g. "name,exp".
Server methods
Section titled “Server methods ”Click the … icon to open the Methods Editor to add a collection of server-side SignalR methods.
Specify the names and parameters of the server methods that are to be executed as events when your SignalR service is accessed.
Client methods
Section titled “Client methods ”Click the … icon to open the Methods Editor to add a collection of client-side SignalR methods.
Specify the names and parameters of the client methods that are to be executed as events when your SignalR service is accessed.
