C# Класс vlko.core.Authentication.AuthorizeRolesAttribute

Наследование: System.Web.Mvc.AuthorizeAttribute
Показать файл Открыть проект

Открытые методы

Метод Описание
AuthorizeRolesAttribute ( ) : System.Web

Initializes a new instance of the AuthorizeRolesAttribute class.

Защищенные методы

Метод Описание
AuthorizeCore ( System.Web.HttpContextBase httpContext ) : bool

Determines whether access to the core framework is authorized.

HandleUnauthorizedRequest ( System.Web.Mvc.AuthorizationContext filterContext ) : void

Processes HTTP requests that fail authorization.

Описание методов

AuthorizeCore() защищенный Метод

Determines whether access to the core framework is authorized.
The parameter is null.
protected AuthorizeCore ( System.Web.HttpContextBase httpContext ) : bool
httpContext System.Web.HttpContextBase The HTTP context, which encapsulates all HTTP-specific information about an individual HTTP request.
Результат bool

AuthorizeRolesAttribute() публичный Метод

Initializes a new instance of the AuthorizeRolesAttribute class.
public AuthorizeRolesAttribute ( ) : System.Web
Результат System.Web

HandleUnauthorizedRequest() защищенный Метод

Processes HTTP requests that fail authorization.
protected HandleUnauthorizedRequest ( System.Web.Mvc.AuthorizationContext filterContext ) : void
filterContext System.Web.Mvc.AuthorizationContext Encapsulates the information for using . The object contains the controller, HTTP context, request context, action result, and route data.
Результат void