Note

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

Access to this page requires authorization. You can try .

AntiforgeryRequestToken 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:
AntiforgeryRequestToken.cs
Source:
AntiforgeryRequestToken.cs
Source:
AntiforgeryRequestToken.cs
Source:
AntiforgeryRequestToken.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.

The antiforgery token included in the request form data.

public class AntiforgeryRequestToken
type AntiforgeryRequestToken = class
Public Class AntiforgeryRequestToken
Inheritance
AntiforgeryRequestToken

Constructors

Name Description
AntiforgeryRequestToken(String, String)

Initializes a new instance of AntiforgeryRequestToken.

Properties

Name Description
FormFieldName

Gets the form field name for the antiforgery token.

Value

Gets the antiforgery token value.

Applies to


Feedback

Was this page helpful?