C# Class Serenity.Services.ServiceAuthorizeAttribute.ServiceAuthorizeAttribute

Inheritance: System.Web.Mvc.AuthorizeAttribute
显示文件 Open project: volkanceylan/Serenity

Public Methods

Method Description
ServiceAuthorizeAttribute ( ) : Serenity.Data
ServiceAuthorizeAttribute ( object permission ) : Serenity.Data
ServiceAuthorizeAttribute ( object module, object permission ) : Serenity.Data
ServiceAuthorizeAttribute ( object module, object submodule, object permission ) : Serenity.Data

Protected Methods

Method Description
AuthorizeCore ( System.Web.HttpContextBase httpContext ) : bool
HandleUnauthorizedRequest ( System.Web.Mvc.AuthorizationContext filterContext ) : void
ServiceAuthorizeAttribute ( Type sourceType ) : Serenity.Data

Method Details

AuthorizeCore() protected method

protected AuthorizeCore ( System.Web.HttpContextBase httpContext ) : bool
httpContext System.Web.HttpContextBase
return bool

HandleUnauthorizedRequest() protected method

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

ServiceAuthorizeAttribute() public method

public ServiceAuthorizeAttribute ( ) : Serenity.Data
return Serenity.Data

ServiceAuthorizeAttribute() protected method

protected ServiceAuthorizeAttribute ( Type sourceType ) : Serenity.Data
sourceType System.Type
return Serenity.Data

ServiceAuthorizeAttribute() public method

public ServiceAuthorizeAttribute ( object permission ) : Serenity.Data
permission object
return Serenity.Data

ServiceAuthorizeAttribute() public method

public ServiceAuthorizeAttribute ( object module, object permission ) : Serenity.Data
module object
permission object
return Serenity.Data

ServiceAuthorizeAttribute() public method

public ServiceAuthorizeAttribute ( object module, object submodule, object permission ) : Serenity.Data
module object
submodule object
permission object
return Serenity.Data