@@ -9,15 +9,15 @@ package cloud
99var (
1010 // AzureChina contains configuration for Azure China.
1111 AzureChina = Configuration {
12- LoginEndpoint : "https://login.chinacloudapi.cn/" , Services : map [ServiceName ]ServiceConfiguration {},
12+ ActiveDirectoryAuthorityHost : "https://login.chinacloudapi.cn/" , Services : map [ServiceName ]ServiceConfiguration {},
1313 }
1414 // AzureGovernment contains configuration for Azure Government.
1515 AzureGovernment = Configuration {
16- LoginEndpoint : "https://login.microsoftonline.us/" , Services : map [ServiceName ]ServiceConfiguration {},
16+ ActiveDirectoryAuthorityHost : "https://login.microsoftonline.us/" , Services : map [ServiceName ]ServiceConfiguration {},
1717 }
1818 // AzurePublicCloud contains configuration for Azure Public Cloud.
1919 AzurePublicCloud = Configuration {
20- LoginEndpoint : "https://login.microsoftonline.com/" , Services : map [ServiceName ]ServiceConfiguration {},
20+ ActiveDirectoryAuthorityHost : "https://login.microsoftonline.com/" , Services : map [ServiceName ]ServiceConfiguration {},
2121 }
2222)
2323
@@ -37,8 +37,8 @@ type ServiceConfiguration struct {
3737
3838// Configuration configures a cloud.
3939type Configuration struct {
40- // LoginEndpoint is the base URL of the cloud's Azure Active Directory.
41- LoginEndpoint string
40+ // ActiveDirectoryAuthorityHost is the base URL of the cloud's Azure Active Directory.
41+ ActiveDirectoryAuthorityHost string
4242 // Services contains configuration for the cloud's services.
4343 Services map [ServiceName ]ServiceConfiguration
4444}
0 commit comments