3 instantiations of TokenCandidate
aspire (3)
Telemetry\InternalMicrosoftDetector.cs (3)
589tokenCandidates.Add(new TokenCandidate(value)); 983yield return new TokenCandidate(value); 1035yield return new TokenCandidate(token);
9 references to TokenCandidate
aspire (9)
Telemetry\InternalMicrosoftDetector.cs (9)
582var tokenCandidates = new List<TokenCandidate>(); 610private async Task<bool> CheckAnyGitHubMembershipCandidateAsync(IReadOnlyList<TokenCandidate> candidates, CancellationToken cancellationToken) 652private async Task<bool> CheckGitHubMembershipCandidateAsync(TokenCandidate candidate, CancellationToken cancellationToken) 966private IEnumerable<TokenCandidate> GetGitHubTokenEnvironmentCandidates(CancellationToken cancellationToken) 988private static List<TokenCandidate> DeduplicateTokenCandidates(IEnumerable<TokenCandidate> candidates) 991var result = new List<TokenCandidate>(); 993foreach (var candidate in candidates) 1004private static IEnumerable<TokenCandidate> ExtractGitHubTokenCandidates(string filePath, CancellationToken cancellationToken)