This method is called before the AuthorizeConnect components of any modules added later to the IHubPipeline are executed. If this returns false, then those later-added modules will not run and the client will not be allowed to subscribe to client-side invocations of methods belonging to the hub defined by the HubDescriptor .
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
protected virtual bool OnBeforeAuthorizeConnect( HubDescriptor hubDescriptor, IRequest request )
- Type: Microsoft.AspNet.SignalR.Hubs.HubDescriptor
A description of the hub the client is trying to subscribe to.
- Type: Microsoft.AspNet.SignalR.IRequest
The connect request of the client trying to subscribe to the hub.
Return ValueType: System.Boolean
true, if the client is authorized to connect to the hub, false otherwise.