Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
AntiforgeryStateProvider Class
Definition
- Namespace:
- Microsoft.AspNetCore.Components.Forms
- Assembly:
- Microsoft.AspNetCore.Components.Web.dll
- Package:
- Microsoft.AspNetCore.Components.Web v10.0.0
- Package:
- Microsoft.AspNetCore.Components.Web v11.0.0-preview.4.26230.115
- Package:
- Microsoft.AspNetCore.Components.Web v8.0.19
- Package:
- Microsoft.AspNetCore.Components.Web v9.0.8
- Source:
- AntiforgeryStateProvider.cs
- Source:
- AntiforgeryStateProvider.cs
- Source:
- AntiforgeryStateProvider.cs
- Source:
- AntiforgeryStateProvider.cs
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.
public abstract class AntiforgeryStateProvider
type AntiforgeryStateProvider = class
Public MustInherit Class AntiforgeryStateProvider
- Inheritance
-
AntiforgeryStateProvider
Constructors
| Name | Description |
|---|---|
| AntiforgeryStateProvider() | |
Methods
| Name | Description |
|---|---|
| GetAntiforgeryToken() |
Gets the current AntiforgeryRequestToken if available. |
Applies to
Feedback
Was this page helpful?
