C# Class DotNetify.Security.AuthorizeAttribute

Inheritance: System.Attribute
Mostra file Open project: dsuryd/dotNetify

Public Methods

Method Description
IsAuthorized ( IPrincipal principal ) : bool

Returns whether the current security context is authorized to access the adorned class.

Method Details

IsAuthorized() public method

Returns whether the current security context is authorized to access the adorned class.
public IsAuthorized ( IPrincipal principal ) : bool
principal IPrincipal Security context.
return bool