|
AntiForgeryGetHtml Method
|
Generates an anti-forgery token for this request. This token can
be validated by calling the Validate() method.
Namespace: GSF.Web.SecurityAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax GSF.Web.Security.AntiForgery.GetHtml = function(response);
View SourceParameters
- response HttpResponseMessage
- Response message.
Return Value
StringAn HTML string corresponding to an <input type="hidden">
element. This element should be put inside a <form>.
Remarks
This method has a side effect: it may set a response cookie.
See Also