C# Class QueueManagerStarter.QueueAuthorizeAttribute

Custom Authentication that is checked when the service is accessed. This scheme looks for a token and validates that the valid token exists.
Inheritance: AuthorizeAttribute
Exibir arquivo Open project: RickStrahl/Westwind.QueueMessageManager

Public Methods

Method Description
AuthorizeHubConnection ( HubDescriptor hubDescriptor, IRequest request ) : bool

Allow only connections if a valid user security token has been passed from the Web application

AuthorizeHubMethodInvocation ( IHubIncomingInvokerContext hubIncomingInvokerContext, bool appliesToMethod ) : bool

Method Details

AuthorizeHubConnection() public method

Allow only connections if a valid user security token has been passed from the Web application
public AuthorizeHubConnection ( HubDescriptor hubDescriptor, IRequest request ) : bool
hubDescriptor Microsoft.AspNet.SignalR.Hubs.HubDescriptor
request IRequest
return bool

AuthorizeHubMethodInvocation() public method

public AuthorizeHubMethodInvocation ( IHubIncomingInvokerContext hubIncomingInvokerContext, bool appliesToMethod ) : bool
hubIncomingInvokerContext IHubIncomingInvokerContext
appliesToMethod bool
return bool