59 references to AzureAuthenticationHelpers
Aspire.Deployment.EndToEnd.Tests (59)
AcaCompactNamingDeploymentTests.cs (2)
37
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
43
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AcaCompactNamingUpgradeDeploymentTests.cs (2)
36
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
42
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AcaCustomRegistryDeploymentTests.cs (2)
35
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
41
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AcaDeploymentErrorOutputTests.cs (2)
39
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
45
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AcaExistingRegistryDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AcaManagedRedisDeploymentTests.cs (2)
35
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
41
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AcaStarterDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AksStarterDeploymentTests.cs (2)
33
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
39
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AksStarterWithRedisDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AppServicePythonDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AppServiceReactDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AuthenticationTests.cs (7)
18
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
39
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
45
var isAuthAvailable =
AzureAuthenticationHelpers
.IsAzureAuthAvailable();
75
if (
AzureAuthenticationHelpers
.IsOidcConfigured())
77
var clientId =
AzureAuthenticationHelpers
.GetClientId();
89
var rgName =
AzureAuthenticationHelpers
.GenerateResourceGroupName("TestScenario");
94
Assert.StartsWith(
AzureAuthenticationHelpers
.GetResourceGroupPrefix(), rgName);
AzureAppConfigDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AzureContainerRegistryDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AzureEventHubsDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AzureKeyVaultDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AzureLogAnalyticsDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AzureServiceBusDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
AzureStorageDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
Helpers\DeploymentReporter.cs (2)
57
var azurePortalUrl = $"https://portal.azure.com/#@/resource/subscriptions/{
AzureAuthenticationHelpers
.TryGetSubscriptionId()}/resourceGroups/{resourceGroupName}/overview";
113
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
PythonFastApiDeploymentTests.cs (2)
34
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
40
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
VnetKeyVaultConnectivityDeploymentTests.cs (2)
32
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
38
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
VnetKeyVaultInfraDeploymentTests.cs (2)
32
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
38
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
VnetSqlServerConnectivityDeploymentTests.cs (2)
33
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
39
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
VnetSqlServerInfraDeploymentTests.cs (2)
32
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
38
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
VnetStorageBlobConnectivityDeploymentTests.cs (2)
32
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
38
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())
VnetStorageBlobInfraDeploymentTests.cs (2)
32
var subscriptionId =
AzureAuthenticationHelpers
.TryGetSubscriptionId();
38
if (!
AzureAuthenticationHelpers
.IsAzureAuthAvailable())