10 references to AcrScope
Aspire.Hosting.Azure (1)
AcrLoginService.cs (1)
79var tokenRequestContext = new TokenRequestContext([AcrScope]);
Aspire.Hosting.Azure.ContainerRegistry (1)
AzureContainerRegistryResource.cs (1)
32TokenScopes = [AcrLoginService.AcrScope],
Aspire.Hosting.Azure.Tests (8)
AcrLoginServiceTests.cs (1)
26await credential.GetTokenAsync(new TokenRequestContext([AcrLoginService.AcrScope]), CancellationToken.None);
AzureDeployerTests.cs (7)
64? ["https://management.azure.com/.default", AcrLoginService.AcrScope, "https://graph.windows.net/.default"] 84FailingScope = cancel ? null : AcrLoginService.AcrScope, 87if (cancel && scope == AcrLoginService.AcrScope) 107Assert.Equal(["https://management.azure.com/.default", AcrLoginService.AcrScope], credential.Requests); 111Assert.Contains(AcrLoginService.AcrScope, failedStep.CompletionText); 167new[] { "https://management.azure.com/.default", AcrLoginService.AcrScope, "https://graph.windows.net/.default" }.Order(StringComparer.Ordinal), 184await credential.GetTokenAsync(new TokenRequestContext([AcrLoginService.AcrScope]), context.CancellationToken);