Class ValidateAntiForgeryTokenAttribute
Inheritance
System.Object
ValidateAntiForgeryTokenAttribute
Implements
IAuthorizationFilter
Assembly: DotNetNuke.Web.Mvc.dll
Syntax
public class ValidateAntiForgeryTokenAttribute : AuthorizeAttributeBase
Methods
|
Improve this Doc
View Source
AuthorizeCore(HttpContextBase)
Declaration
protected override bool AuthorizeCore(HttpContextBase httpContext)
Parameters
| Type |
Name |
Description |
| HttpContextBase |
httpContext |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
GetAntiForgeryCookieValue(HttpContextBase)
Declaration
protected string GetAntiForgeryCookieValue(HttpContextBase context)
Parameters
| Type |
Name |
Description |
| HttpContextBase |
context |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
IsAuthenticated(HttpContextBase)
Declaration
public virtual bool IsAuthenticated(HttpContextBase httpContext)
Parameters
| Type |
Name |
Description |
| HttpContextBase |
httpContext |
|
Returns
| Type |
Description |
| System.Boolean |
|
Implements
IAuthorizationFilter
Extension Methods