AzureAuthorityHosts Class

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

public final class AzureAuthorityHosts

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 authorityHost(String authorityHost). The authentication requests will be routed accordingly to the specified target authority host.

Field Summary

Modifier and Type Field and Description
static final String AZURE_CHINA

The host of the Microsoft Entra authority for tenants in the Azure China Cloud.

static final String AZURE_GERMANY

Deprecated

Microsoft Cloud Germany was closed on October 29th, 2021.

The host of the Microsoft Entra authority for tenants in the Azure German Cloud.

static final String AZURE_GOVERNMENT

The host of the Microsoft Entra authority for tenants in the Azure US Government Cloud.

static final String AZURE_PUBLIC_CLOUD

The host of the Microsoft Entra authority for tenants in the Azure Public Cloud.

Methods inherited from java.lang.Object

Field Details

AZURE_CHINA

public static final String AZURE_CHINA

The host of the Microsoft Entra authority for tenants in the Azure China Cloud.

AZURE_GERMANY

@Deprecated
public static final String AZURE_GERMANY

Deprecated

Microsoft Cloud Germany was closed on October 29th, 2021.

The host of the Microsoft Entra authority for tenants in the Azure German Cloud.

AZURE_GOVERNMENT

public static final String AZURE_GOVERNMENT

The host of the Microsoft Entra authority for tenants in the Azure US Government Cloud.

AZURE_PUBLIC_CLOUD

public static final String AZURE_PUBLIC_CLOUD

The host of the Microsoft Entra authority for tenants in the Azure Public Cloud.

Applies to