1 implementation of ICsrfProtection
Microsoft.AspNetCore (1)
Internal\DefaultCsrfProtection.cs (1)
10
internal sealed class DefaultCsrfProtection :
ICsrfProtection
5 references to ICsrfProtection
Microsoft.AspNetCore (5)
Internal\CsrfProtectionMiddleware.cs (3)
10
/// Auto-injected middleware that enforces <see cref="
ICsrfProtection
"/> on incoming requests.
17
private readonly
ICsrfProtection
_csrfProtection;
22
ICsrfProtection
csrfProtection,
WebApplicationBuilder.cs (1)
461
if (serviceProviderIsService?.IsService(typeof(
ICsrfProtection
)) is true)
WebHost.cs (1)
279
services.TryAddSingleton<
ICsrfProtection
, DefaultCsrfProtection>();