AntiforgeryTokenSet Třída

Definice

Dvojice tokenů antiforgery (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ří pro žádost dvojici antiforgery tokenů (cookie a token požadavku).

Vlastnosti

CookieToken

Získá token 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