[]
        
(Showing Draft Content)

C1.Web.Mvc.C1AntiForgeryTokenAttribute

C1AntiForgeryTokenAttribute Class

C1AntiForgeryTokenAttribute provides support for MVC AntiForgency feature

Inheritance
C1AntiForgeryTokenAttribute
Implements
IAuthorizationFilter
Namespace: C1.Web.Mvc
Assembly: C1.Web.Mvc.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class C1AntiForgeryTokenAttribute : FilterAttribute, IAuthorizationFilter

Constructors

Name Description
C1AntiForgeryTokenAttribute()

Methods

Name Description
OnAuthorization(AuthorizationContext)

Implement the authorizing logic base on the RequestVerificationToken value in the request header.