forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Emanuel Vecchio (Southworks SRL)
committed
Sep 29, 2017
1 parent
71dcddc
commit c2e4410
Showing
2 changed files
with
36 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 21 additions & 17 deletions
38
...main/java/com/microsoft/windowsazure/services/media/authentication/AzureEnvironments.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,44 @@ | ||
package com.microsoft.windowsazure.services.media.authentication; | ||
|
||
public class AzureEnvironments { | ||
|
||
|
||
// Utility classes should not have a public or default constructor. | ||
private AzureEnvironments() { | ||
} | ||
|
||
/** | ||
* Azure Cloud environment. | ||
*/ | ||
public static final AzureEnvironment AzureCloudEnvironment = new AzureEnvironment( | ||
AzureEnvironmentConstants.AzureCloudActiveDirectoryEndpoint, | ||
AzureEnvironmentConstants.AzureCloudMediaServicesResource, | ||
AzureEnvironmentConstants.SdkAadApplicationId, | ||
AzureEnvironmentConstants.SdkAadApplicationRedirectUri); | ||
AzureEnvironmentConstants.AZURE_CLOUD_ACTIVE_DIRECTORY_ENDPOINT, | ||
AzureEnvironmentConstants.AZURE_CLOUD_MEDIA_SERVICES_RESOURCE, | ||
AzureEnvironmentConstants.SDK_AAD_APPLICATION_ID, | ||
AzureEnvironmentConstants.SDK_AAD_APPLICATION_REDIRECT_URI); | ||
|
||
/** | ||
* Azure China Cloud environment. | ||
*/ | ||
public static final AzureEnvironment AzureChinaCloudEnvironment = new AzureEnvironment( | ||
AzureEnvironmentConstants.AzureChinaCloudActiveDirectoryEndpoint, | ||
AzureEnvironmentConstants.AzureChinaCloudMediaServicesResource, | ||
AzureEnvironmentConstants.SdkAadApplicationId, | ||
AzureEnvironmentConstants.SdkAadApplicationRedirectUri); | ||
AzureEnvironmentConstants.AZURE_CHINA_CLOUD_ACTIVE_DIRECTORY_ENDPOINT, | ||
AzureEnvironmentConstants.AZURE_CHINA_CLOUD_MEDIA_SERVICES_RESOURCE, | ||
AzureEnvironmentConstants.SDK_AAD_APPLICATION_ID, | ||
AzureEnvironmentConstants.SDK_AAD_APPLICATION_REDIRECT_URI); | ||
|
||
/** | ||
* Azure US Government environment. | ||
*/ | ||
public static final AzureEnvironment AzureUsGovernmentEnvironment = new AzureEnvironment( | ||
AzureEnvironmentConstants.AzureUsGovernmentActiveDirectoryEndpoint, | ||
AzureEnvironmentConstants.AzureUsGovernmentMediaServicesResource, | ||
AzureEnvironmentConstants.AzureUsGovernmentSdkAadAppliationId, | ||
AzureEnvironmentConstants.SdkAadApplicationRedirectUri); | ||
AzureEnvironmentConstants.AZURE_US_GOVERNMENT_ACTIVE_DIRECTORY_ENDPOINT, | ||
AzureEnvironmentConstants.AZURE_US_GOVERNMENT_MEDIA_SERVICES_RESOURCE, | ||
AzureEnvironmentConstants.AZURE_US_GOVERNMENT_SDK_AAD_APPLIATION_ID, | ||
AzureEnvironmentConstants.SDK_AAD_APPLICATION_REDIRECT_URI); | ||
|
||
/** | ||
* Azure German Cloud environment. | ||
*/ | ||
public static final AzureEnvironment AzureGermanCloudEnvironment = new AzureEnvironment( | ||
AzureEnvironmentConstants.AzureGermanCloudActiveDirectoryEndpoint, | ||
AzureEnvironmentConstants.AzureGermanCloudMediaServicesResource, | ||
AzureEnvironmentConstants.SdkAadApplicationId, | ||
AzureEnvironmentConstants.SdkAadApplicationRedirectUri); | ||
AzureEnvironmentConstants.AZURE_GERMAN_CLOUD_ACTIVE_DIRECTORY_ENDPOINT, | ||
AzureEnvironmentConstants.AZURE_GERMAN_CLOUD_MEDIA_SERVICES_RESOURCE, | ||
AzureEnvironmentConstants.SDK_AAD_APPLICATION_ID, | ||
AzureEnvironmentConstants.SDK_AAD_APPLICATION_REDIRECT_URI); | ||
} |