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