Implemented interface member:
method
LoginAsync
Aspire.Hosting.Azure.IAcrLoginService.LoginAsync(System.String, System.String, Azure.Core.TokenCredential, System.Threading.CancellationToken)
4 references to LoginAsync
Aspire.Hosting.Azure.Tests (4)
AcrLoginServiceTests.cs (4)
38await service.LoginAsync("registry.azurecr.io", "tenant", new StaticTokenCredential()); 63await Assert.ThrowsAsync<HttpRequestException>(() => service.LoginAsync("registry.azurecr.io", "tenant", new StaticTokenCredential())); 85await Assert.ThrowsAsync<HttpRequestException>(() => service.LoginAsync("registry.azurecr.io", "tenant", new StaticTokenCredential())); 110await Assert.ThrowsAsync<HttpRequestException>(() => service.LoginAsync("registry.azurecr.io", "tenant", new StaticTokenCredential()));