|
AntiForgeryValidate(HttpRequestMessage, String, String) Method
|
Validates an anti-forgery token pair that was generated by the GetTokens method.
Namespace: GSF.Web.SecurityAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax GSF.Web.Security.AntiForgery.Validate = function(request, cookieToken, formToken);
View SourceParameters
- request HttpRequestMessage
- Request message.
- cookieToken String
- The token that was supplied in the request cookie.
- formToken String
- The token that was supplied in the request form body.
Remarks
Throws an HttpAntiForgeryException if validation fails.
See Also