40 instantiations of AuthenticationHeaderValue
AnalyzeCiFailure (1)
aspire (3)
Aspire.Cli.Tests (1)
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)
49 references to AuthenticationHeaderValue
Aspire.Deployment.EndToEnd.Tests (1)
dotnet-aot (2)
dotnet-sourcelink (5)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (2)
Microsoft.NET.Build.Containers (11)
AuthHandshakeMessageHandler.cs (11)
47private AuthenticationHeaderValue? _authentication;
87AuthenticationHeaderValue header = authenticateHeader.First();
173private async Task<(AuthenticationHeaderValue, DateTimeOffset)?> GetAuthenticationAsync(string registry, string scheme, AuthInfo? bearerAuthInfo, CancellationToken cancellationToken)
205var authValue = new AuthenticationHeaderValue(BasicAuthScheme, Convert.ToBase64String(Encoding.ASCII.GetBytes($"{privateRepoCreds.Username}:{privateRepoCreds.Password}")));
392private async Task<(AuthenticationHeaderValue, DateTimeOffset)?> TryOAuthPostAsync(HttpMessageInvoker realmClient, DockerCredentials privateRepoCreds, AuthInfo bearerAuthInfo, Uri realmUri, CancellationToken cancellationToken)
435var authValue = new AuthenticationHeaderValue(BearerAuthScheme, tokenResponse.ResolvedToken);
448private async Task<(AuthenticationHeaderValue, DateTimeOffset)?> TryTokenGetAsync(HttpMessageInvoker realmClient, DockerCredentials privateRepoCreds, AuthInfo bearerAuthInfo, Uri realmUri, CancellationToken cancellationToken)
452var header = new AuthenticationHeaderValue(BasicAuthScheme, Convert.ToBase64String(Encoding.ASCII.GetBytes($"{privateRepoCreds.Username}:{privateRepoCreds.Password}")));
517AuthenticationHeaderValue? attemptedAuthentication = isRegistryOrigin ? Volatile.Read(ref _authentication) : null;
525AuthenticationHeaderValue? authenticationToCache = null;
583if (await GetAuthenticationAsync(_registryName, scheme!, authInfo, cancellationToken).ConfigureAwait(false) is not (AuthenticationHeaderValue authHeader, _))
netstandard (1)
System.Net.Http (27)