21 instantiations of AuthenticationHeaderValue
dotnet-sourcelink (2)
Keycloak.Web (1)
Microsoft.AspNetCore.Authentication.Google (1)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
Microsoft.AspNetCore.Http.Connections.Client (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)
42 references to AuthenticationHeaderValue
dotnet-sourcelink (5)
Microsoft.NET.Build.Containers (10)
AuthHandshakeMessageHandler.cs (10)
44private static ConcurrentDictionary<string, AuthenticationHeaderValue?> _authenticationHeaders = new();
85AuthenticationHeaderValue header = authenticateHeader.First();
171private async Task<(AuthenticationHeaderValue, DateTimeOffset)?> GetAuthenticationAsync(string registry, string scheme, AuthInfo? bearerAuthInfo, CancellationToken cancellationToken)
196var authValue = new AuthenticationHeaderValue(BasicAuthScheme, Convert.ToBase64String(Encoding.ASCII.GetBytes($"{privateRepoCreds.Username}:{privateRepoCreds.Password}")));
455private async Task<(AuthenticationHeaderValue, DateTimeOffset)?> TryOAuthPostAsync(DockerCredentials privateRepoCreds, AuthInfo bearerAuthInfo, Uri realmUri, CancellationToken cancellationToken)
498var authValue = new AuthenticationHeaderValue(BearerAuthScheme, tokenResponse.ResolvedToken);
511private async Task<(AuthenticationHeaderValue, DateTimeOffset)?> TryTokenGetAsync(DockerCredentials privateRepoCreds, AuthInfo bearerAuthInfo, Uri realmUri, CancellationToken cancellationToken)
515var header = new AuthenticationHeaderValue(BasicAuthScheme, Convert.ToBase64String(Encoding.ASCII.GetBytes($"{privateRepoCreds.Username}:{privateRepoCreds.Password}")));
579if (_authenticationHeaders.TryGetValue(_registryName, out AuthenticationHeaderValue? header))
602if (await GetAuthenticationAsync(_registryName, scheme!, authInfo, cancellationToken).ConfigureAwait(false) is (AuthenticationHeaderValue authHeader, DateTimeOffset expirationTime))
netstandard (1)
System.Net.Http (26)