Share via


AntiforgeryStateProvider Class

Definition

Provides access to the antiforgery token associated with the current session.

public abstract class AntiforgeryStateProvider
type AntiforgeryStateProvider = class
Public MustInherit Class AntiforgeryStateProvider
Inheritance
AntiforgeryStateProvider

Constructors

AntiforgeryStateProvider()

Methods

GetAntiforgeryToken()

Gets the current AntiforgeryRequestToken if available.

Applies to