1 implementation of ICsrfProtection
Microsoft.AspNetCore (1)
Internal\DefaultCsrfProtection.cs (1)
10internal 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. 17private readonly ICsrfProtection _csrfProtection; 22ICsrfProtection csrfProtection,
WebApplicationBuilder.cs (1)
461if (serviceProviderIsService?.IsService(typeof(ICsrfProtection)) is true)
WebHost.cs (1)
279services.TryAddSingleton<ICsrfProtection, DefaultCsrfProtection>();