38 instantiations of AuthenticationHeaderValue
AnalyzeCiFailure (1)
aspire (2)
Aspire.Dashboard (1)
Aspire.Deployment.EndToEnd.Tests (6)
Aspire.Hosting.Azure.Sandboxes (1)
Aspire.Hosting.Foundry (1)
Aspire.Hosting.Native.Server (1)
Aspire.TestTools (1)
dotnet-sourcelink (2)
EntraId.Web (1)
Keycloak.Web (1)
Microsoft.AspNetCore.Authentication.Google (1)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (1)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.DotNet.Cli.InternalMicrosoft (1)
Microsoft.Extensions.AI.Evaluation.Safety (1)
Microsoft.NET.Build.Containers (4)
Microsoft.NET.Sdk.Publish.Tasks (2)
Pipelines.Library (1)
System.Net.Http (6)
48 references to AuthenticationHeaderValue
Aspire.Deployment.EndToEnd.Tests (1)
dotnet-aot (2)
dotnet-sourcelink (5)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (2)
Microsoft.NET.Build.Containers (10)
AuthHandshakeMessageHandler.cs (10)
47private static ConcurrentDictionary<string, AuthenticationHeaderValue?> _authenticationHeaders = new();
85AuthenticationHeaderValue header = authenticateHeader.First();
171private async Task<(AuthenticationHeaderValue, DateTimeOffset)?> GetAuthenticationAsync(string registry, string scheme, AuthInfo? bearerAuthInfo, CancellationToken cancellationToken)
203var authValue = new AuthenticationHeaderValue(BasicAuthScheme, Convert.ToBase64String(Encoding.ASCII.GetBytes($"{privateRepoCreds.Username}:{privateRepoCreds.Password}")));
390private async Task<(AuthenticationHeaderValue, DateTimeOffset)?> TryOAuthPostAsync(HttpMessageInvoker realmClient, DockerCredentials privateRepoCreds, AuthInfo bearerAuthInfo, Uri realmUri, CancellationToken cancellationToken)
433var authValue = new AuthenticationHeaderValue(BearerAuthScheme, tokenResponse.ResolvedToken);
446private async Task<(AuthenticationHeaderValue, DateTimeOffset)?> TryTokenGetAsync(HttpMessageInvoker realmClient, DockerCredentials privateRepoCreds, AuthInfo bearerAuthInfo, Uri realmUri, CancellationToken cancellationToken)
450var header = new AuthenticationHeaderValue(BasicAuthScheme, Convert.ToBase64String(Encoding.ASCII.GetBytes($"{privateRepoCreds.Username}:{privateRepoCreds.Password}")));
515&& _authenticationHeaders.TryGetValue(_registryName, out AuthenticationHeaderValue? header))
539if (await GetAuthenticationAsync(_registryName, scheme!, authInfo, cancellationToken).ConfigureAwait(false) is (AuthenticationHeaderValue authHeader, DateTimeOffset expirationTime))
netstandard (1)
System.Net.Http (27)