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