Show / Hide Table of Contents

Class ValidateAntiForgeryTokenAttribute

Inheritance
object
ValidateAntiForgeryTokenAttribute
IFrameSupportedValidateAntiForgeryTokenAttribute
Namespace: DotNetNuke.Web.Api
Assembly: DotNetNuke.Web.dll
Syntax
public class ValidateAntiForgeryTokenAttribute : ActionFilterAttribute

Constructors

ValidateAntiForgeryTokenAttribute()

Declaration
public ValidateAntiForgeryTokenAttribute()

Fields

SuccessResult

Declaration
protected static Tuple<bool, string> SuccessResult
Field Value
Type Description
Tuple<bool, string>

Properties

AllowMultiple

Declaration
public override bool AllowMultiple { get; }
Property Value
Type Description
bool

Methods

GetAntiForgeryCookieValue(HttpActionContext)

Declaration
protected static string GetAntiForgeryCookieValue(HttpActionContext actionContext)
Parameters
Type Name Description
HttpActionContext actionContext
Returns
Type Description
string

IsAuthorized(HttpActionContext)

Declaration
protected virtual Tuple<bool, string> IsAuthorized(HttpActionContext actionContext)
Parameters
Type Name Description
HttpActionContext actionContext
Returns
Type Description
Tuple<bool, string>

OnActionExecuting(HttpActionContext)

Declaration
public override void OnActionExecuting(HttpActionContext actionContext)
Parameters
Type Name Description
HttpActionContext actionContext

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS