3 instantiations of TokenCandidate
aspire (3)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (3)
901tokenCandidates.Add(new TokenCandidate(value)); 1512yield return new TokenCandidate(value); 1564yield return new TokenCandidate(token);
9 references to TokenCandidate
aspire (9)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (9)
894var tokenCandidates = new List<TokenCandidate>(); 920private async Task<GitHubMembershipCheckResult> CheckAnyGitHubMembershipCandidateAsync(IReadOnlyList<TokenCandidate> candidates, CancellationToken cancellationToken) 972private async Task<GitHubMembershipCheckResult> CheckGitHubMembershipCandidateAsync(TokenCandidate candidate, CancellationToken cancellationToken) 1495private IEnumerable<TokenCandidate> GetGitHubTokenEnvironmentCandidates(CancellationToken cancellationToken) 1517private static List<TokenCandidate> DeduplicateTokenCandidates(IEnumerable<TokenCandidate> candidates) 1520var result = new List<TokenCandidate>(); 1522foreach (var candidate in candidates) 1533private static IEnumerable<TokenCandidate> ExtractGitHubTokenCandidates(string filePath, CancellationToken cancellationToken)