Class CloudInfo
- java.lang.Object
-
- com.microsoft.azure.kusto.data.auth.CloudInfo
-
public class CloudInfo extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static CloudInfoDEFAULT_CLOUDstatic StringDEFAULT_FIRST_PARTY_AUTHORITY_URLstatic StringDEFAULT_KUSTO_CLIENT_APP_IDstatic StringDEFAULT_KUSTO_SERVICE_RESOURCE_IDstatic booleanDEFAULT_LOGIN_MFA_REQUIREDstatic StringDEFAULT_PUBLIC_LOGIN_URLstatic StringDEFAULT_REDIRECT_URIstatic StringLOCALHOSTstatic StringMETADATA_ENDPOINT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdetermineScope()booleanequals(Object o)StringgetFirstPartyAuthorityUrl()StringgetKustoClientAppId()StringgetKustoClientRedirectUri()StringgetKustoServiceResourceId()StringgetLoginEndpoint()inthashCode()booleanisLoginMfaRequired()static voidmanuallyAddToCache(String clusterUrl, CloudInfo cloudInfo)static CloudInforetrieveCloudInfoForCluster(String clusterUrl)static CloudInforetrieveCloudInfoForCluster(String clusterUrl, @Nullable org.apache.http.client.HttpClient givenHttpClient)
-
-
-
Field Detail
-
METADATA_ENDPOINT
public static final String METADATA_ENDPOINT
- See Also:
- Constant Field Values
-
DEFAULT_KUSTO_CLIENT_APP_ID
public static final String DEFAULT_KUSTO_CLIENT_APP_ID
- See Also:
- Constant Field Values
-
DEFAULT_LOGIN_MFA_REQUIRED
public static final boolean DEFAULT_LOGIN_MFA_REQUIRED
- See Also:
- Constant Field Values
-
DEFAULT_PUBLIC_LOGIN_URL
public static final String DEFAULT_PUBLIC_LOGIN_URL
- See Also:
- Constant Field Values
-
DEFAULT_REDIRECT_URI
public static final String DEFAULT_REDIRECT_URI
- See Also:
- Constant Field Values
-
DEFAULT_KUSTO_SERVICE_RESOURCE_ID
public static final String DEFAULT_KUSTO_SERVICE_RESOURCE_ID
- See Also:
- Constant Field Values
-
DEFAULT_FIRST_PARTY_AUTHORITY_URL
public static final String DEFAULT_FIRST_PARTY_AUTHORITY_URL
- See Also:
- Constant Field Values
-
DEFAULT_CLOUD
public static final CloudInfo DEFAULT_CLOUD
-
LOCALHOST
public static final String LOCALHOST
- See Also:
- Constant Field Values
-
-
Method Detail
-
manuallyAddToCache
public static void manuallyAddToCache(String clusterUrl, CloudInfo cloudInfo) throws URISyntaxException
- Throws:
URISyntaxException
-
retrieveCloudInfoForCluster
public static CloudInfo retrieveCloudInfoForCluster(String clusterUrl) throws DataServiceException
- Throws:
DataServiceException
-
retrieveCloudInfoForCluster
public static CloudInfo retrieveCloudInfoForCluster(String clusterUrl, @Nullable @Nullable org.apache.http.client.HttpClient givenHttpClient) throws DataServiceException
- Throws:
DataServiceException
-
isLoginMfaRequired
public boolean isLoginMfaRequired()
-
getLoginEndpoint
public String getLoginEndpoint()
-
getKustoClientAppId
public String getKustoClientAppId()
-
getKustoClientRedirectUri
public String getKustoClientRedirectUri()
-
getKustoServiceResourceId
public String getKustoServiceResourceId()
-
getFirstPartyAuthorityUrl
public String getFirstPartyAuthorityUrl()
-
determineScope
public String determineScope() throws URISyntaxException
- Throws:
URISyntaxException
-
-