41 references to AuthenticationHeaderValue
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\BasicAuthTests.cs (1)
62request.Headers.Authorization = new AuthenticationHeaderValue("Basic", Convert.ToBase64String(byteArray));
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\BasicAuthTests.cs (1)
62request.Headers.Authorization = new AuthenticationHeaderValue("Basic", Convert.ToBase64String(byteArray));
Microsoft.AspNetCore.Authentication.Google (1)
GoogleHandler.cs (1)
48request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", tokens.AccessToken);
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
MicrosoftAccountHandler.cs (1)
44request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", tokens.AccessToken);
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectHandler.cs (1)
1058requestMessage.Headers.Authorization = new AuthenticationHeaderValue("Bearer", message.AccessToken);
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\AccessTokenHttpMessageHandler.cs (1)
63request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", accessToken);
Microsoft.AspNetCore.Identity.FunctionalTests (16)
MapIdentityApiTests.cs (16)
124client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken); 156client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken); 188client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken); 267client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken); 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); 732client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken); 761client.DefaultRequestHeaders.Authorization = new("Bearer", recoveryAccessToken); 784client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken); 831client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken); 863client.DefaultRequestHeaders.Authorization = new("Bearer", recoveryAccessToken); 1400client.DefaultRequestHeaders.Authorization = new("Bearer", accessToken);
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
AuthMiddlewareAndFilterTestBase.cs (3)
137request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token); 156request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token); 217request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token);
Microsoft.DotNet.Build.Tasks.Feed (5)
src\AzureDevOpsNugetFeedAssetPublisher.cs (1)
53Authorization = new AuthenticationHeaderValue(
src\CreateAzureDevOpsFeed.cs (1)
140client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(
src\PublishArtifactsInManifestBase.cs (3)
878client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue( 1238httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue( 1307httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(
Microsoft.DotNet.Git.IssueManager (1)
Clients\AzureDevOpsClient.cs (1)
60client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(
Microsoft.DotNet.Helix.Sdk (1)
AzureDevOpsTask.cs (1)
64Authorization = new AuthenticationHeaderValue("Basic", Convert.ToBase64String(Encoding.UTF8.GetBytes("unused:" + AccessToken))),
Microsoft.DotNet.Internal.SymbolHelper (1)
SymbolPromotionHelper.cs (1)
235return new AuthenticationHeaderValue("Bearer", token.Token);
Microsoft.DotNet.VersionTools (1)
Automation\VstsApi\VstsAdapterClient.cs (1)
61_httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(
SocialSample (2)
Startup.cs (2)
138request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", context.AccessToken); 199request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", context.AccessToken);
System.Net.Http (5)
System\Net\Http\Headers\AuthenticationHeaderValue.cs (2)
34: this(scheme, null) 189parsedValue = new AuthenticationHeaderValue(scheme, parameter);
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.cs (2)
184SetRequestAuthenticationHeaderValue(request, new AuthenticationHeaderValue(BasicScheme, base64AuthString), isProxyAuth); 201var headerValue = new AuthenticationHeaderValue(DigestScheme, parameter);
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.NtAuth.cs (1)
198SetRequestAuthenticationHeaderValue(request, new AuthenticationHeaderValue(challenge.SchemeName, challengeResponse), isProxyAuth);