Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AntiforgeryToken Class

Definition

Namespace:
Microsoft.AspNetCore.Components.Forms
Assembly:
Microsoft.AspNetCore.Components.Web.dll
Package:
Microsoft.AspNetCore.Components.Web v10.0.0
Package:
Microsoft.AspNetCore.Components.Web v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.Components.Web v8.0.19
Package:
Microsoft.AspNetCore.Components.Web v9.0.8
Source:
AntiforgeryToken.cs
Source:
AntiforgeryToken.cs
Source:
AntiforgeryToken.cs
Source:
AntiforgeryToken.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Component that renders an antiforgery token as a hidden field.

public class AntiforgeryToken : Microsoft.AspNetCore.Components.IComponent
type AntiforgeryToken = class
 interface IComponent
Public Class AntiforgeryToken
Implements IComponent
Inheritance
AntiforgeryToken
Implements

Constructors

Name Description
AntiforgeryToken()

Explicit Interface Implementations

Name Description
IComponent.Attach(RenderHandle)
IComponent.SetParametersAsync(ParameterView)

Applies to


Feedback

Was this page helpful?