C# Class afeprojectnameFilters.ValidateHttpAntiForgeryTokenAttribute

Inheritance: System.Web.Http.Filters.AuthorizationFilterAttribute
Mostra file Open project: xqiu/MVCSPAWithEmberjs

Public Methods

Method Description
OnAuthorization ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

Private Methods

Method Description
IsAjaxRequest ( HttpRequestMessage request ) : bool
ValidateRequestHeader ( HttpRequestMessage request ) : void

Method Details

OnAuthorization() public method

public OnAuthorization ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
return void