Share via


AntiforgeryRequestToken(String, String) Constructor

Definition

Initializes a new instance of AntiforgeryRequestToken.

public AntiforgeryRequestToken (string value, string formFieldName);
new Microsoft.AspNetCore.Components.Forms.AntiforgeryRequestToken : string * string -> Microsoft.AspNetCore.Components.Forms.AntiforgeryRequestToken
Public Sub New (value As String, formFieldName As String)

Parameters

value
String

The antiforgery token value.

formFieldName
String

The form field name for the antiforgery token.

Applies to