1 write to DefaultRequestHeaders
Microsoft.DotNet.Helix.Sdk (1)
186 references to DefaultRequestHeaders
Aspire.Hosting.PostgreSQL.Tests (1)
IIS.FunctionalTests (6)
IISExpress.FunctionalTests (6)
Interop.FunctionalTests (7)
Microsoft.AspNetCore.Authentication.JwtBearer (1)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (1)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
Microsoft.AspNetCore.Authentication.Test (6)
Microsoft.AspNetCore.Authentication.Twitter (3)
Microsoft.AspNetCore.Authentication.WsFederation (1)
Microsoft.AspNetCore.Diagnostics.Tests (2)
Microsoft.AspNetCore.Http.Connections.Client (9)
Microsoft.AspNetCore.Identity.FunctionalTests (26)
MapIdentityApiTests.cs (26)
124client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
156client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
188client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
223client.DefaultRequestHeaders.Add(HeaderNames.Cookie, cookie);
267client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
280client.DefaultRequestHeaders.Authorization = new("Bearer");
283client.DefaultRequestHeaders.Authorization = new("Bearer", "");
303client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
357client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
373client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
418client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
678client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
713client.DefaultRequestHeaders.Clear();
732client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
750client.DefaultRequestHeaders.Clear();
761client.DefaultRequestHeaders.Authorization = new("Bearer", recoveryAccessToken);
767client.DefaultRequestHeaders.Clear();
784client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
831client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
848client.DefaultRequestHeaders.Clear();
863client.DefaultRequestHeaders.Authorization = new("Bearer", recoveryAccessToken);
880client.DefaultRequestHeaders.Clear();
1131client.DefaultRequestHeaders.Clear();
1209client.DefaultRequestHeaders.Clear();
1400client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
1481client.DefaultRequestHeaders.Add(HeaderNames.Cookie, cookie);
Microsoft.AspNetCore.Localization.Tests (13)
Microsoft.AspNetCore.Mvc.FunctionalTests (5)
Microsoft.AspNetCore.OutputCaching.Tests (31)
Microsoft.AspNetCore.ResponseCaching.Tests (42)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.Session.Tests (5)
Microsoft.AspNetCore.SpaProxy (1)
Microsoft.AspNetCore.TestHost.Tests (2)
Microsoft.AspNetCore.Tests (2)
Microsoft.DotNet.Build.Tasks.Feed (2)
Microsoft.DotNet.Deployment.Tasks.Links (1)
Microsoft.DotNet.Git.IssueManager (2)
Microsoft.DotNet.VersionTools (5)
Sockets.FunctionalTests (2)