RequireAntiforgeryTokenAttribute クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
偽造防止トークンを検証する必要があるかどうかを示すために使用できる属性。
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method)]
public class RequireAntiforgeryTokenAttribute : Attribute, Microsoft.AspNetCore.Antiforgery.IAntiforgeryMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method)>]
type RequireAntiforgeryTokenAttribute = class
inherit Attribute
interface IAntiforgeryMetadata
Public Class RequireAntiforgeryTokenAttribute
Inherits Attribute
Implements IAntiforgeryMetadata
- 継承
-
RequireAntiforgeryTokenAttribute
- 属性
- 実装
コンストラクター
RequireAntiforgeryTokenAttribute(Boolean) |
偽造防止トークンを検証する必要があるかどうかを示すために使用できる属性。 |
プロパティ
RequiresValidation |
偽造防止トークンを検証するかどうかを示す値を取得または設定します。 |
適用対象
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示