AntiforgeryStateProvider Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to the antiforgery token associated with the current session.
C#
public abstract class AntiforgeryStateProvider
type AntiforgeryStateProvider = class
Public MustInherit Class AntiforgeryStateProvider
- Inheritance
-
AntiforgeryStateProvider
Get |
Gets the current AntiforgeryRequestToken if available. |
Product | Versions |
---|---|
ASP.NET Core | 8.0, 9.0 |