Click or drag to resize

AuthorizeHubRoleAttributeAuthorizeHubMethodInvocation Method

Determines whether client is authorized to invoke the IHub method.

Namespace:  GSF.Web.Security
Assembly:  GSF.Web (in GSF.Web.dll) Version: 2.2.98-beta
Syntax
public override bool AuthorizeHubMethodInvocation(
	IHubIncomingInvokerContext hubIncomingInvokerContext,
	bool appliesToMethod
)
Request Example View Source

Parameters

hubIncomingInvokerContext
Type: IHubIncomingInvokerContext
An IHubIncomingInvokerContext providing details regarding the IHub method invocation.
appliesToMethod
Type: SystemBoolean
Indicates whether the interface instance is an attribute applied directly to a method.

Return Value

Type: Boolean
true if the caller is authorized to invoke the IHub method; otherwise, false.

Implements

IAuthorizeHubMethodInvocation.AuthorizeHubMethodInvocation(IHubIncomingInvokerContext, Boolean)
See Also