1 write to _options
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgery.cs (1)
32
_options
= antiforgeryOptionsAccessor.Value;
13 references to _options
Microsoft.AspNetCore.Antiforgery (13)
Internal\DefaultAntiforgery.cs (13)
107
_logger.MissingCookieToken(
_options
.Cookie.Name);
113
_logger.MissingRequestToken(
_options
.FormFieldName,
_options
.HeaderName);
153
Resources.FormatAntiforgery_CookieToken_MustBeProvided(
_options
.Cookie.Name));
158
if (
_options
.HeaderName == null)
160
var message = Resources.FormatAntiforgery_FormToken_MustBeProvided(
_options
.FormFieldName);
165
var message = Resources.FormatAntiforgery_HeaderToken_MustBeProvided(
_options
.HeaderName);
171
_options
.FormFieldName,
172
_options
.HeaderName);
247
if (!
_options
.SuppressXFrameOptionsHeader && !httpContext.Response.Headers.ContainsKey(HeaderNames.XFrameOptions))
258
if (
_options
.Cookie.SecurePolicy == CookieSecurePolicy.Always && !context.Request.IsHttps)
425
_options
.FormFieldName,
426
_options
.HeaderName);