AntiForgeryTokenSet Class¶
Constructors¶
-
AntiForgeryTokenSet
(System.String, System.String)¶ Creates the anti-forgery token pair (cookie and form token) for a request.
Arguments: - formToken (System.String) – The token that is supplied in the request form body.
- cookieToken (System.String) – The token that is supplied in the request cookie.
public AntiForgeryTokenSet(string formToken, string cookieToken)
-