• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class ValidateAntiForgeryTokenAttribute

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

Fields

| Improve this Doc View Source

SuccessResult

Declaration
protected static Tuple<bool, string> SuccessResult
Field Value
Type Description
Tuple<System.Boolean, System.String>

Properties

| Improve this Doc View Source

AllowMultiple

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

Methods

| Improve this Doc View Source

GetAntiForgeryCookieValue(HttpActionContext)

Declaration
protected static string GetAntiForgeryCookieValue(HttpActionContext actionContext)
Parameters
Type Name Description
HttpActionContext actionContext
Returns
Type Description
System.String
| Improve this Doc View Source

IsAuthorized(HttpActionContext)

Declaration
protected virtual Tuple<bool, string> IsAuthorized(HttpActionContext actionContext)
Parameters
Type Name Description
HttpActionContext actionContext
Returns
Type Description
Tuple<System.Boolean, System.String>
| Improve this Doc View Source

OnActionExecuting(HttpActionContext)

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

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS