AntiforgeryExtensions Třída

Definice

Statická třída, která přidává metody rozšíření do IAntiforgery. Tuto třídu nelze dědit.

public ref class AntiforgeryExtensions abstract sealed
public static class AntiforgeryExtensions
type AntiforgeryExtensions = class
Public Module AntiforgeryExtensions
Dědičnost
AntiforgeryExtensions

Metody

GetHtml(IAntiforgery, HttpContext)

Vygeneruje <vstupní typ="hidden"> element pro antiforgery token.

Platí pro