bin/System.Web.WebPages.xml
(开头部分) 218KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Web.WebPages</name>
</assembly>
<members>
<member name="T:System.Web.Helpers.AntiForgery">
<summary>Helps prevent malicious scripts from submitting forged page requests.</summary>
</member>
<member name="M:System.Web.Helpers.AntiForgery.GetHtml">
<summary>Adds an authenticating token to a form to help protect against request forgery.</summary>
<returns>Returns a string that contains the encrypted token value in a hidden HTML field.</returns>
<exception cref="T:System.ArgumentException">The current <see cref="T:System.Web.HttpContext" /> object is null.</exception>
</member>
<member name="M:System.Web.Helpers.AntiForgery.GetHtml(System.Web.HttpContextBase,System.String,System.String,System.String)">
<summary>Adds an authenticating token to a form to help protect against request forgery and lets callers specify authentication details.</summary>
<returns>Returns the encrypted token value in a hidden HTML field.</returns>
<param name="httpContext">The HTTP context data for a request.</param>
<param name="salt">An optional string of random characters (such as Z*7g1&p4) that is used to add complexity to the encryption for extra safety. The default is null.</param>
<param name="domain">The domain of a web application that a request is submitted from.</param>
<param name="path">The virtual root path of a web application that a request is submitted from.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="httpContext" /> is null.</exception>
</member>
<member name="M:System.Web.Helpers.AntiForgery.GetTokens(System.String,System.String@,System.String@)"></member>
<member name="M:System.Web.Helpers.AntiForgery.Validate">
<summary>Validates that input data from an HTML form field comes from the user who submitted the data.</summary>
<exception cref="T:System.ArgumentException">The current <see cref="T:System.Web.HttpContext" /> value is null.</exception>
<exception cref="T:System.Web.Helpers.HttpAntiForgeryException">The HTTP cookie token that accompanies a valid request is missing-or-The form token is missing.-or-The form token value does not match the cookie token value.-or-The form token value does not match the cookie token value.</exception>
</member>
<member name="M:System.Web.Helpers.AntiForgery.Validate(System.String,System.String)"></member>
<member name="M:System.Web.Helpers.AntiForgery.Validate(System.Web.HttpContextBase,System.String)">
<summary>Validates that input data from an HTML form field comes from the user who submitted the data and lets callers specify additional validation details.</summary>
<param name="httpContext">The HTTP context data for a request.</param>
<param name="salt">An optional string of random characters (such as Z*7g1&p4) that is used to decrypt an authentication token created by the <see cref="T:System.Web.Helpers.AntiForgery" /> class. The default is null.</param>
<exception cref="T:System.ArgumentException">The current <see cref="T:System.Web.HttpContext" /> value is null.</exception>
<exception cref="T:System.Web.Helpers.HttpAntiForgeryException">The HTTP cookie token that accompanies a valid request is missing.-or-The form token is missing.-or-The form token value does not match the cookie token value.-or-The form token value does not match the cookie token value.-or-The <paramref name="salt" /> value supplied does not match the <paramref name="salt" /> value that was used to create the form token.</exception>
</member>
<member name="T:System.Web.Helpers.AntiForgeryConfig">
<summary>Provides programmatic configuration for the anti-forgery token system.</summary>
</member>
<member name="P:System.Web.Helpers.AntiForgeryConfig.AdditionalDataProvider">
<summary>Gets a data provider that can provide additional data to put into all generated tokens and that can validate additional data in incoming tokens.</summary>
<returns>The data provider.</returns>
</member>
<member name="P:System.Web.Helpers.AntiForgeryConfig.CookieName">
<summary>Gets or sets the name of the cookie that is used by the anti-forgery system.</summary>
<returns>The cookie name.</returns>
</member>
<member name="P:System.Web.Helpers.AntiForgeryConfig.RequireSsl">
<summary>Gets or sets a value that indicates whether the anti-forgery cookie requires SSL in order to be returned to the server.</summary>
<returns>true if SSL is required to return the anti-forgery cookie to the server; otherwise, false. </returns>
</member>
<member name="P:System.Web.Helpers.AntiForgeryConfig.SuppressIdentityHeuristicChecks">
<summary>Gets or sets a value that indicates whether the anti-forgery system should skip checking for conditions that might indicate misuse of the system.</summary>
<returns>true if the anti-forgery system should not check for possible misuse; otherwise, false.</returns>
</member>
<member name="P:System.Web.Helpers.AntiForgeryConfig.UniqueClaimTypeIdentifier">
<summary>If claims-based authorization is in use, gets or sets the claim type from the identity that is used to uniquely identify the user.</summary>
<returns>The claim type.</returns>
后面还有 2564 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
