Sdílet prostřednictvím


AntiforgeryTokenSet Třída

Definice

Pár antiforgery tokenu (cookie a token požadavku) pro požadavek.

public ref class AntiforgeryTokenSet
public class AntiforgeryTokenSet
type AntiforgeryTokenSet = class
Public Class AntiforgeryTokenSet
Dědičnost
AntiforgeryTokenSet

Konstruktory

AntiforgeryTokenSet(String, String, String, String)

Vytvoří pár tokenu antiforgery (token cookie a požadavek) pro požadavek.

Vlastnosti

CookieToken

Získá token souboru cookie.

FormFieldName

Získá název pole formuláře použitého pro token požadavku.

HeaderName

Získá název hlavičky použité pro token požadavku.

RequestToken

Získá token požadavku.

Platí pro