1 instantiation of AuthInfo
Microsoft.NET.Build.Containers (1)
AuthHandshakeMessageHandler.cs (1)
120
authInfo = new
AuthInfo
(realm, service, scope);
6 references to AuthInfo
Microsoft.NET.Build.Containers (6)
AuthHandshakeMessageHandler.cs (6)
74
private static bool TryParseAuthenticationInfo(HttpResponseMessage msg, [NotNullWhen(true)] out string? scheme, out
AuthInfo
? bearerAuthInfo)
112
static bool TryParseBearerAuthInfo(Dictionary<string, string> authValues, [NotNullWhen(true)] out
AuthInfo
? authInfo)
171
private async Task<(AuthenticationHeaderValue, DateTimeOffset)?> GetAuthenticationAsync(string registry, string scheme,
AuthInfo
? bearerAuthInfo, CancellationToken cancellationToken)
455
private async Task<(AuthenticationHeaderValue, DateTimeOffset)?> TryOAuthPostAsync(DockerCredentials privateRepoCreds,
AuthInfo
bearerAuthInfo, Uri realmUri, CancellationToken cancellationToken)
511
private async Task<(AuthenticationHeaderValue, DateTimeOffset)?> TryTokenGetAsync(DockerCredentials privateRepoCreds,
AuthInfo
bearerAuthInfo, Uri realmUri, CancellationToken cancellationToken)
596
else if (response is { StatusCode: HttpStatusCode.Unauthorized } && TryParseAuthenticationInfo(response, out string? scheme, out
AuthInfo
? authInfo))