DefaultAntiforgery
DefaultAntiforgery(IOptions<AntiforgeryOptions>, IAntiforgeryTokenGenerator, IAntiforgeryTokenSerializer, IAntiforgeryTokenStore, IHtmlEncoder)
GetAndStoreTokens(HttpContext)
GetHtml(HttpContext)
GetTokens(HttpContext)
SetCookieTokenAndHeader(HttpContext)
ValidateRequestAsync(HttpContext)
ValidateTokens(HttpContext, AntiforgeryTokenSet)
net481
namespace Microsoft.AspNet.Antiforgery
{
public class DefaultAntiforgery : IAntiforgery
{
public AntiforgeryTokenSet GetTokens(HttpContext context);
}
}
.NET Framework | 4.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
---|---|
Information specific to net481 | |
Assembly | Microsoft.AspNet.Antiforgery , Version=1.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNet.Antiforgery (1.0.0-rc1-final) net451 |
Preview | This API is contained in a prerelease package. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API