Udostępnij za pośrednictwem


IAuthorizeHubConnection Interface

.NET Framework 4

Interface to be implemented by Attribute s that can authorize client to connect to a IHub .

Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Public Interface IAuthorizeHubConnection
'Usage
Dim instance As IAuthorizeHubConnection
public interface IAuthorizeHubConnection
public interface class IAuthorizeHubConnection
type IAuthorizeHubConnection =  interface end
public interface IAuthorizeHubConnection

The IAuthorizeHubConnection type exposes the following members.

Methods

  Name Description
Public method AuthorizeHubConnection Given a HubCallerContext , determine whether client is authorized to connect to IHub .

Top

See Also

Reference

Microsoft.AspNet.SignalR.Hubs Namespace