3 references to CompareHelpers
Aspire.Dashboard (3)
Authentication\OtlpApiKey\OtlpApiKeyAuthenticationHandler.cs (2)
34if (!CompareHelpers.CompareKey(options.GetPrimaryApiKeyBytes(), apiKey.ToString())) 36if (options.GetSecondaryApiKeyBytes() is not { } secondaryBytes || !CompareHelpers.CompareKey(secondaryBytes, apiKey.ToString()))
Model\ValidateTokenMiddleware.cs (1)
88if (!CompareHelpers.CompareKey(expectedBrowserTokenBytes, incomingBrowserToken))