AntiforgeryStateProvider.GetAntiforgeryToken Method
Definition
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.
Gets the current AntiforgeryRequestToken if available.
public abstract Microsoft.AspNetCore.Components.Forms.AntiforgeryRequestToken? GetAntiforgeryToken ();
abstract member GetAntiforgeryToken : unit -> Microsoft.AspNetCore.Components.Forms.AntiforgeryRequestToken
Public MustOverride Function GetAntiforgeryToken () As AntiforgeryRequestToken
Returns
The current AntiforgeryRequestToken if available.