메소드 | 설명 | |
---|---|---|
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.
|
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 |
protected HandleUnauthorizedRequest ( System.Web.Mvc.AuthorizationContext filterContext ) : void | ||
filterContext | System.Web.Mvc.AuthorizationContext | Encapsulates the information for using |
리턴 | void |