|
// <auto-generated/>
#nullable enable
namespace Microsoft.AspNetCore.Antiforgery
{
partial class CsrfProtectionMiddleware
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.30711")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Http.PathString, string, global::System.Exception?> __RequestDeniedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::Microsoft.AspNetCore.Http.PathString, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "CsrfRequestDenied"), "Cross-origin CSRF protection denied request {Method} {Path} from origin '{Origin}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Cross-origin CSRF protection denied request {Method} {Path} from origin '{Origin}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.30711")]
private static partial void RequestDenied(global::Microsoft.Extensions.Logging.ILogger logger, string method, global::Microsoft.AspNetCore.Http.PathString path, string origin)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RequestDeniedCallback(logger, method, path, origin, null);
}
}
}
} |