18 references to AntiforgeryRequestToken
Microsoft.AspNetCore.Components.Endpoints (4)
Forms\EndpointAntiforgeryStateProvider.cs (1)
19
public override
AntiforgeryRequestToken
? GetAntiforgeryToken()
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (3)
11
private const string PersistenceKey = $"__internal__{nameof(
AntiforgeryRequestToken
)}";
13
private readonly
AntiforgeryRequestToken
? _currentToken;
35
public override
AntiforgeryRequestToken
? GetAntiforgeryToken() => _currentToken;
Microsoft.AspNetCore.Components.Server (3)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (3)
11
private const string PersistenceKey = $"__internal__{nameof(
AntiforgeryRequestToken
)}";
13
private readonly
AntiforgeryRequestToken
? _currentToken;
35
public 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>
15
public abstract
AntiforgeryRequestToken
? GetAntiforgeryToken();
Forms\AntiforgeryToken.cs (1)
16
private
AntiforgeryRequestToken
? _requestToken;
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (3)
11
private const string PersistenceKey = $"__internal__{nameof(
AntiforgeryRequestToken
)}";
13
private readonly
AntiforgeryRequestToken
? _currentToken;
35
public override
AntiforgeryRequestToken
? GetAntiforgeryToken() => _currentToken;
Microsoft.AspNetCore.Components.WebAssembly (3)
src\Components\Shared\src\DefaultAntiforgeryStateProvider.cs (3)
11
private const string PersistenceKey = $"__internal__{nameof(
AntiforgeryRequestToken
)}";
13
private readonly
AntiforgeryRequestToken
? _currentToken;
35
public override
AntiforgeryRequestToken
? GetAntiforgeryToken() => _currentToken;