HubPipelineExtensions Class

HubPipelineExtensions Class

.NET Framework 4.5


Namespace:  Microsoft.AspNet.SignalR
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

<ExtensionAttribute> _
Public NotInheritable Class HubPipelineExtensions

The HubPipelineExtensions type exposes the following members.

Public methodStatic memberRequireAuthenticationRequiring 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft