Class AzureAuthorityHosts

java.lang.Object
com.azure.identity.AzureAuthorityHosts

public final class AzureAuthorityHosts extends Object

Defines fields exposing the well known authority hosts for the Azure Public Cloud and sovereign clouds.

Users looking to target a specific cloud instance of Azure, can pass an instance of Azure Authority Hosts as a parameter to the AadCredentialBuilderBase.authorityHost(String). The authentication requests will be routed accordingly to the specified target authority host.

See Also:
  • Field Details

    • AZURE_PUBLIC_CLOUD

      public static final String AZURE_PUBLIC_CLOUD
      The host of the Microsoft Entra authority for tenants in the Azure Public Cloud.
      See Also:
    • AZURE_CHINA

      public static final String AZURE_CHINA
      The host of the Microsoft Entra authority for tenants in the Azure China Cloud.
      See Also:
    • AZURE_GERMANY

      public static final String AZURE_GERMANY
      The host of the Microsoft Entra authority for tenants in the Azure German Cloud.
      See Also:
    • AZURE_GOVERNMENT

      public static final String AZURE_GOVERNMENT
      The host of the Microsoft Entra authority for tenants in the Azure US Government Cloud.
      See Also: