C# Class CodeGarten.Web.Attributes.StructureOwnerAttribute

Inheritance: System.Web.Mvc.AuthorizeAttribute
Show file Open project: CodeGarten/CodeGarten

Private Properties

Property Type Description

Public Methods

Method Description
StructureOwnerAttribute ( string structureIdField ) : System

Protected Methods

Method Description
AuthorizeCore ( HttpContextBase httpContext ) : bool
HandleUnauthorizedRequest ( System.Web.Mvc.AuthorizationContext filterContext ) : void

Method Details

AuthorizeCore() protected method

protected AuthorizeCore ( HttpContextBase httpContext ) : bool
httpContext HttpContextBase
return bool

HandleUnauthorizedRequest() protected method

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

StructureOwnerAttribute() public method

public StructureOwnerAttribute ( string structureIdField ) : System
structureIdField string
return System