1 write to HttpContext
Microsoft.AspNetCore.Authentication (1)
Events\BaseContext.cs (1)
25HttpContext = context;
21 references to HttpContext
Aspire.Dashboard (1)
DashboardWebApplication.cs (1)
743var options = context.HttpContext.RequestServices.GetRequiredService<IOptions<DashboardOptions>>().Value;
Microsoft.AspNetCore.Authentication (2)
Events\BaseContext.cs (2)
48public HttpRequest Request => HttpContext.Request; 53public HttpResponse Response => HttpContext.Response;
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationEvents.cs (2)
47if (IsAjaxRequest(context.Request) || IsCookieRedirectDisabledByMetadata(context.HttpContext)) 64if (IsAjaxRequest(context.Request) || IsCookieRedirectDisabledByMetadata(context.HttpContext))
Microsoft.AspNetCore.Authentication.DeviceBoundSessions (14)
DeviceBoundSessionCookieEvents.cs (11)
33await GetInnerEvents(context.HttpContext).ValidatePrincipal(context); 38await GetInnerEvents(context.HttpContext).CheckSlidingExpiration(context); 43await GetInnerEvents(context.HttpContext).SigningIn(context); 44DeviceBoundSessionRegistrationHeader.Emit(context.HttpContext, context.Principal, _dbscScheme); 49await GetInnerEvents(context.HttpContext).SignedIn(context); 54await ClearDerivedCookiesAsync(context.HttpContext, _dbscScheme); 55await GetInnerEvents(context.HttpContext).SigningOut(context); 60await GetInnerEvents(context.HttpContext).RedirectToLogout(context); 65await GetInnerEvents(context.HttpContext).RedirectToLogin(context); 70await GetInnerEvents(context.HttpContext).RedirectToReturnUrl(context); 75await GetInnerEvents(context.HttpContext).RedirectToAccessDenied(context);
PostConfigureDeviceBoundSessionCookieOptions.cs (2)
39DeviceBoundSessionRegistrationHeader.Emit(context.HttpContext, context.Principal, dbscScheme); 45await DeviceBoundSessionCookieEvents.ClearDerivedCookiesAsync(context.HttpContext, dbscScheme);
PostConfigureDeviceBoundSessionDerivedCookieOptions.cs (1)
103var services = context.HttpContext.RequestServices;
Microsoft.AspNetCore.Identity (2)
SecurityStampValidator.cs (2)
192if (context.HttpContext.RequestServices == null) 197var validator = context.HttpContext.RequestServices.GetRequiredService<TValidator>();