48 references to Response
Identity.DefaultUI.WebSite (1)
Services\ContosoAuthenticationHandler.cs (1)
33Response.Redirect(uri);
Microsoft.AspNetCore.Authentication (6)
AuthenticationHandler.cs (2)
288Response.StatusCode = 403; 301Response.StatusCode = 401;
RemoteAuthenticationHandler.cs (4)
180Response.Redirect(ticketContext.ReturnUri); 240Response.Cookies.Append(cookieName, CorrelationMarker, cookieOptions); 271Response.Cookies.Delete(cookieName, cookieOptions); 322Response.Redirect(BuildRedirectUri(uri));
Microsoft.AspNetCore.Authentication.Cookies (4)
CookieAuthenticationHandler.cs (4)
418Response.Headers.CacheControl = HeaderValueNoCacheNoStore; 419Response.Headers.Pragma = HeaderValueNoCache; 420Response.Headers.Expires = HeaderValueEpocDate; 422if (shouldRedirect && Response.StatusCode == 200)
Microsoft.AspNetCore.Authentication.JwtBearer (6)
JwtBearerHandler.cs (6)
296Response.StatusCode = 401; 302Response.Headers.Append(HeaderNames.WWWAuthenticate, Options.Challenge); 344Response.Headers.Append(HeaderNames.WWWAuthenticate, builder.ToString()); 353if (Response.StatusCode == 403) 357else if (Response.HasStarted) 363Response.StatusCode = 403;
Microsoft.AspNetCore.Authentication.Negotiate (10)
NegotiateHandler.cs (10)
182Response.StatusCode = StatusCodes.Status401Unauthorized; 183Response.Headers.Append(HeaderNames.WWWAuthenticate, AuthHeaderPrefix + outgoing); 192Response.OnStarting(() => 195if (Response.StatusCode < StatusCodes.Status400BadRequest) 197Response.Headers.Append(HeaderNames.WWWAuthenticate, AuthHeaderPrefix + outgoing); 213Response.RegisterForDispose(_negotiateState); 231Response.RegisterForDispose(_negotiateState); 329Response.RegisterForDispose(winIdentity); 394Response.StatusCode = StatusCodes.Status401Unauthorized; 395Response.Headers.Append(HeaderNames.WWWAuthenticate, NegotiateVerb);
Microsoft.AspNetCore.Authentication.OpenIdConnect (17)
OpenIdConnectHandler.cs (17)
283Response.Redirect(redirectUri); 290Response.ContentLength = buffer.Length; 291Response.ContentType = "text/html;charset=UTF-8"; 294Response.Headers.CacheControl = "no-cache, no-store"; 295Response.Headers.Pragma = "no-cache"; 296Response.Headers.Expires = HeaderValueEpocDate; 298await Response.Body.WriteAsync(buffer); 352Response.Redirect(properties.RedirectUri); 530Response.Redirect(redirectUri); 538Response.ContentLength = buffer.Length; 539Response.ContentType = "text/html;charset=UTF-8"; 542Response.Headers.CacheControl = "no-cache, no-store"; 543Response.Headers.Pragma = "no-cache"; 544Response.Headers.Expires = HeaderValueEpocDate; 546await Response.Body.WriteAsync(buffer); 1164Response.Cookies.Append( 1194Response.Cookies.Delete(nonceKey, cookieOptions);
Microsoft.AspNetCore.Authentication.Twitter (2)
TwitterHandler.cs (2)
103Response.Cookies.Delete(Options.StateCookie.Name!, cookieOptions); 177Response.Cookies.Append(Options.StateCookie.Name!, Options.StateDataFormat.Protect(requestToken), cookieOptions);
Microsoft.AspNetCore.Authentication.WsFederation (2)
WsFederationHandler.cs (2)
141Response.Redirect(redirectUri); 462Response.Redirect(redirectUri);