Class ValidateAntiForgeryTokenAttribute
Inheritance
System.Object
ValidateAntiForgeryTokenAttribute
Namespace: DotNetNuke.Web.Api
Assembly: DotNetNuke.Web.dll
Syntax
public class ValidateAntiForgeryTokenAttribute : ActionFilterAttribute
Fields
| Improve this Doc View SourceSuccessResult
Declaration
protected static Tuple<bool, string> SuccessResult
Field Value
| Type | Description |
|---|---|
| Tuple<System.Boolean, System.String> |
Properties
| Improve this Doc View SourceAllowMultiple
Declaration
public override bool AllowMultiple { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
| Improve this Doc View SourceGetAntiForgeryCookieValue(HttpActionContext)
Declaration
protected static string GetAntiForgeryCookieValue(HttpActionContext actionContext)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpActionContext | actionContext |
Returns
| Type | Description |
|---|---|
| System.String |
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> |
OnActionExecuting(HttpActionContext)
Declaration
public override void OnActionExecuting(HttpActionContext actionContext)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpActionContext | actionContext |