This chapter will cover how you can secure your SignalR connections, which require authentication and authorization from the client, and also how you can communicate this back to the client in a graceful manner.
In this chapter, we will cover the following topics:
General infrastructure needed to secure any web application
Creating a login page and using AJAX calls to perform the actual login
How to keep users' authentication for your connection
How to have a specific role for your connection
At this stage, the developer should be familiar with securing their SignalR connections.