C# Class DotNetify.Security.AuthorizeAttribute

Inheritance: System.Attribute
Afficher le fichier Open project: dsuryd/dotNetify

Méthodes publiques

Méthode Description
IsAuthorized ( IPrincipal principal ) : bool

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

Method Details

IsAuthorized() public méthode

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