Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AuthorizeAttribute.AuthorizeHubMethodInvocation Method

.NET Framework 4
.NET Framework 4

Determines whether client is authorized to invoke the IHub method.

Namespace:  Microsoft.AspNet.SignalR
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
public virtual bool AuthorizeHubMethodInvocation(
	IHubIncomingInvokerContext hubIncomingInvokerContext,
	bool appliesToMethod


Type: Microsoft.AspNet.SignalR.Hubs.IHubIncomingInvokerContext
An IHubIncomingInvokerContext providing details regarding the IHub method invocation.
Type: System.Boolean
Indicates whether the interface instance is an attribute applied directly to a method.

Return Value

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


IAuthorizeHubMethodInvocation.AuthorizeHubMethodInvocation(IHubIncomingInvokerContext, Boolean)
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.