PersistentConnection.AuthorizeRequest Method

.NET Framework 4.5

Called before every request and gives the user a authorize the user.

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

protected virtual bool AuthorizeRequest(
	IRequest request
)

Parameters

request
Type: Microsoft.AspNet.SignalR.IRequest
The IRequest for the current connection.

Return Value

Type: System.Boolean
A Boolean value that represents if the request is authorized.
Show: