1 implementation of IAntiforgeryFeature
Microsoft.AspNetCore.Antiforgery (1)
Internal\AntiforgeryFeature.cs (1)
9
internal sealed class AntiforgeryFeature :
IAntiforgeryFeature
12 references to IAntiforgeryFeature
Microsoft.AspNetCore.Antiforgery (12)
Internal\DefaultAntiforgery.cs (12)
46
var
antiforgeryFeature = GetTokensInternal(httpContext);
83
var
antiforgeryFeature = GetTokensInternal(httpContext);
215
var
antiforgeryFeature = GetCookieTokens(httpContext);
266
private static
IAntiforgeryFeature
GetAntiforgeryFeature(HttpContext httpContext)
268
var
antiforgeryFeature = httpContext.Features.Get<
IAntiforgeryFeature
>();
278
private
IAntiforgeryFeature
GetCookieTokens(HttpContext httpContext)
280
var
antiforgeryFeature = GetAntiforgeryFeature(httpContext);
343
private
IAntiforgeryFeature
GetTokensInternal(HttpContext httpContext)
345
var
antiforgeryFeature = GetCookieTokens(httpContext);
404
private AntiforgeryTokenSet Serialize(
IAntiforgeryFeature
antiforgeryFeature)
456
var
antiforgeryFeature = GetAntiforgeryFeature(httpContext);