Export (0) Print
Expand All

AuthorizeAttribute.UserAuthorized Method

.NET Framework 4
.NET Framework 4

When overridden, provides an entry point for custom authorization checks. Called by AuthorizeHubConnection(HubDescriptor, IRequest) and AuthorizeHubMethodInvocation(IHubIncomingInvokerContext, Boolean).

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

abstract UserAuthorized : 
        user:IPrincipal -> bool  
override UserAuthorized : 
        user:IPrincipal -> bool

Parameters

user
Type: System.Security.Principal.IPrincipal
The IPrincipal for the client being authorized.

Return Value

Type: System.Boolean
true if the user is authorized, otherwise, false.
Show:
© 2014 Microsoft