ValidateAntiForgeryTokenAttribute.Salt プロパティ

定義

注意事項

The 'Salt' property is deprecated. To specify custom data to be embedded within the token, use the static AntiForgeryConfig.AdditionalDataProvider property.

salt 文字列を取得または設定します。

[System.Obsolete("The 'Salt' property is deprecated. To specify custom data to be embedded within the token, use the static AntiForgeryConfig.AdditionalDataProvider property.", true)]
public string Salt { get; set; }
member this.Salt : string with get, set
Public Property Salt As String

プロパティ値

salt 文字列。

属性

適用対象