Click or drag to resize

AuthorizeHubRoleAttributeAuthorizeHubConnection Method

Determines whether client is authorized to connect to IHub.

Namespace:  GSF.Web.Security
Assembly:  GSF.Web (in GSF.Web.dll) Version: 2.2.98-beta
Syntax
public override bool AuthorizeHubConnection(
	HubDescriptor hubDescriptor,
	IRequest request
)
Request Example View Source

Parameters

hubDescriptor
Type: HubDescriptor
Description of the hub client is attempting to connect to.
request
Type: IRequest
The (re)connect request from the client.

Return Value

Type: Boolean
true if the caller is authorized to connect to the hub; otherwise, false.

Implements

IAuthorizeHubConnection.AuthorizeHubConnection(HubDescriptor, IRequest)
See Also