HubPipelineExtensions Methods

Visual Studio 2010
.NET Framework 4

The HubPipelineExtensions type exposes the following members.

Public method Static member RequireAuthentication Requiring Authentication adds an AuthorizeModule to the IHubPipeline with IAuthorizeHubConnection and IAuthorizeHubMethodInvocation authorizers that will be applied globally to all hubs and hub methods. These authorizers require that the IPrincipal's IIdentity IsAuthenticated for any clients that invoke server-side hub methods or receive client-side hub method invocations.