다음을 통해 공유


AntiforgeryTokenSet(String, String, String, String) 생성자

정의

요청에 대한 위조 방지 토큰 쌍(쿠키 및 요청 토큰)을 만듭니다.

public:
 AntiforgeryTokenSet(System::String ^ requestToken, System::String ^ cookieToken, System::String ^ formFieldName, System::String ^ headerName);
public AntiforgeryTokenSet (string requestToken, string cookieToken, string formFieldName, string headerName);
public AntiforgeryTokenSet (string? requestToken, string? cookieToken, string formFieldName, string? headerName);
new Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet : string * string * string * string -> Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet
Public Sub New (requestToken As String, cookieToken As String, formFieldName As String, headerName As String)

매개 변수

requestToken
String

요청에 제공된 토큰입니다.

cookieToken
String

요청 쿠키에 제공된 토큰입니다.

formFieldName
String

요청 토큰에 사용되는 양식 필드의 이름입니다.

headerName
String

요청 토큰에 사용되는 헤더의 이름입니다.

적용 대상