[]
C1AntiForgeryTokenAttribute provides support for MVC AntiForgency feature
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class C1AntiForgeryTokenAttribute : FilterAttribute, IAuthorizationFilter
Name | Description |
---|---|
C1AntiForgeryTokenAttribute() |
Name | Description |
---|---|
OnAuthorization(AuthorizationContext) | Implement the authorizing logic base on the RequestVerificationToken value in the request header. |