HubPipelineExtensions Class
.NET Framework 4
Inheritance Hierarchy
System.Object
Microsoft.AspNet.SignalR.HubPipelineExtensions
Namespace: Microsoft.AspNet.SignalR
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class HubPipelineExtensions
'Usage
public static class HubPipelineExtensions
[ExtensionAttribute]
public ref class HubPipelineExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type HubPipelineExtensions = class end
public final class HubPipelineExtensions
The HubPipelineExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
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. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.