18 references to AntiforgeryRequestToken
Microsoft.AspNetCore.Components.Endpoints (4)
Forms\EndpointAntiforgeryStateProvider.cs (1)
19public override AntiforgeryRequestToken? GetAntiforgeryToken()
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (3)
11private const string PersistenceKey = $"__internal__{nameof(AntiforgeryRequestToken)}"; 13private readonly AntiforgeryRequestToken? _currentToken; 35public override AntiforgeryRequestToken? GetAntiforgeryToken() => _currentToken;
Microsoft.AspNetCore.Components.Server (3)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (3)
11private const string PersistenceKey = $"__internal__{nameof(AntiforgeryRequestToken)}"; 13private readonly AntiforgeryRequestToken? _currentToken; 35public override AntiforgeryRequestToken? GetAntiforgeryToken() => _currentToken;
Microsoft.AspNetCore.Components.Web (8)
Forms\AntiforgeryRequestToken.cs (1)
12/// Initializes a new instance of <see cref="AntiforgeryRequestToken"/>.
Forms\AntiforgeryStateProvider.cs (3)
12/// Gets the current <see cref="AntiforgeryRequestToken"/> if available. 14/// <returns>The current <see cref="AntiforgeryRequestToken"/> if available.</returns> 15public abstract AntiforgeryRequestToken? GetAntiforgeryToken();
Forms\AntiforgeryToken.cs (1)
16private AntiforgeryRequestToken? _requestToken;
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (3)
11private const string PersistenceKey = $"__internal__{nameof(AntiforgeryRequestToken)}"; 13private readonly AntiforgeryRequestToken? _currentToken; 35public override AntiforgeryRequestToken? GetAntiforgeryToken() => _currentToken;
Microsoft.AspNetCore.Components.WebAssembly (3)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (3)
11private const string PersistenceKey = $"__internal__{nameof(AntiforgeryRequestToken)}"; 13private readonly AntiforgeryRequestToken? _currentToken; 35public override AntiforgeryRequestToken? GetAntiforgeryToken() => _currentToken;