ValidateAntiForgeryTokenAttribute クラス

定義

要求の偽造防止に使用される属性を表します。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class ValidateAntiForgeryTokenAttribute : System.Web.Mvc.FilterAttribute, System.Web.Mvc.IAuthorizationFilter
type ValidateAntiForgeryTokenAttribute = class
    inherit FilterAttribute
    interface IAuthorizationFilter
Public NotInheritable Class ValidateAntiForgeryTokenAttribute
Inherits FilterAttribute
Implements IAuthorizationFilter
継承
ValidateAntiForgeryTokenAttribute
属性
実装

コンストラクター

ValidateAntiForgeryTokenAttribute()

ValidateAntiForgeryTokenAttribute クラスの新しいインスタンスを初期化します。

プロパティ

AllowMultiple

フィルター属性の複数のインスタンスを指定できるかどうかを示す値を取得または設定します。

(継承元 FilterAttribute)
Order

アクション フィルターの実行順序を取得または設定します。

(継承元 FilterAttribute)
Salt
古い.

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

メソッド

OnAuthorization(AuthorizationContext)

承認が必要なときに呼び出されます。

適用対象