C# 클래스 vlko.core.Authentication.AuthorizeRolesAttribute

상속: System.Web.Mvc.AuthorizeAttribute
파일 보기 프로젝트 열기: vlko/vlko

공개 메소드들

메소드 설명
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