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
사용되지 않음.

솔트 문자열을 가져오거나 설정합니다.

메서드

OnAuthorization(AuthorizationContext)

권한 부여가 필요한 경우 호출됩니다.

적용 대상