C# Class Shoelace.Filters.ValidateHttpAntiForgeryTokenAttribute

Inheritance: System.Web.Http.Filters.AuthorizationFilterAttribute
Datei anzeigen Open project: hylander0/Shoelace

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