IAuthorizeHubConnection::AuthorizeHubConnection Method
.NET Framework 4.5 Namespace:
Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
true if the caller is authorized to connect to the hub; otherwise, false.
Given a HubCallerContext , determine whether client is authorized to connect to IHub .
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Parameters
- hubDescriptor
- Type: Microsoft.AspNet.SignalR.Hubs::HubDescriptor
Description of the hub client is attempting to connect to.
- request
- Type: Microsoft.AspNet.SignalR::IRequest
The connection request from the client.
Return Value
Type: System::Booleantrue if the caller is authorized to connect to the hub; otherwise, false.
Show: