16 references to AuthenticationHeaderValue
dotnet-sourcelink (2)
Keycloak.Web (1)
AuthorizationHandler.cs (1)
17request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", accessToken);
Microsoft.Extensions.AI.Evaluation.Safety (1)
ContentSafetyService.cs (1)
441httpRequestMessage.Headers.Authorization = new AuthenticationHeaderValue("Bearer", token.Token);
Microsoft.NET.Build.Containers (4)
AuthHandshakeMessageHandler.cs (4)
196var authValue = new AuthenticationHeaderValue(BasicAuthScheme, Convert.ToBase64String(Encoding.ASCII.GetBytes($"{privateRepoCreds.Username}:{privateRepoCreds.Password}"))); 498var authValue = new AuthenticationHeaderValue(BearerAuthScheme, tokenResponse.ResolvedToken); 515var header = new AuthenticationHeaderValue(BasicAuthScheme, Convert.ToBase64String(Encoding.ASCII.GetBytes($"{privateRepoCreds.Username}:{privateRepoCreds.Password}"))); 544return (new AuthenticationHeaderValue(BearerAuthScheme, token.ResolvedToken), token.ResolvedExpiration);
Microsoft.NET.Sdk.Publish.Tasks (2)
Tasks\Http\HttpClientExtensions.cs (2)
288client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(BasicAuthenticationScheme, base64); 292client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(BearerAuthenticationScheme, password);
Pipelines.Library (1)
DistributedApplicationPipelineExtensions.cs (1)
149httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", accessToken.Token);
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)
168SetRequestAuthenticationHeaderValue(request, new AuthenticationHeaderValue(challenge.SchemeName, challengeResponse), isProxyAuth);