|
HtmlHelperAntiForgeryTokenHeader Method
|
Generates an anti-forgery token that can be manually added to a "RequestVerificationToken" HTTP header,
e.g., from within an AJAX request.
Namespace:
GSF.Web.Model
Assembly:
GSF.Web (in GSF.Web.dll) Version: 2.2.202-beta
Syntax public string AntiForgeryTokenHeader()
Public Function AntiForgeryTokenHeader As String
public:
String^ AntiForgeryTokenHeader()
member AntiForgeryTokenHeader : unit -> string
function AntiForgeryTokenHeader();
Request Example
View SourceReturn Value
Type:
StringAnti-forgery token to be added as the "RequestVerificationToken" HTTP header value.
See Also