C# Class MvcSPAWithEmberjs.Filters.ValidateHttpAntiForgeryTokenAttribute

Inheritance: System.Web.Http.Filters.AuthorizationFilterAttribute
Exibir arquivo 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