Package com.databricks.sdk.core.oauth
Class AzureServicePrincipalCredentialsProvider
- java.lang.Object
-
- com.databricks.sdk.core.oauth.AzureServicePrincipalCredentialsProvider
-
- All Implemented Interfaces:
CredentialsProvider
,AzureUtils
public class AzureServicePrincipalCredentialsProvider extends Object implements CredentialsProvider, AzureUtils
Adds refreshed Azure Active Directory (AAD) Service Principal OAuth tokens to every request, while automatically resolving different Azure environment endpoints.
-
-
Constructor Summary
Constructors Constructor Description AzureServicePrincipalCredentialsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
authType()
HeaderFactory
configure(DatabricksConfig config)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.databricks.sdk.core.utils.AzureUtils
ensureHostPresent, getWorkspaceFromJsonResponse, tokenSourceFor
-
-
-
-
Method Detail
-
authType
public String authType()
- Specified by:
authType
in interfaceCredentialsProvider
-
configure
public HeaderFactory configure(DatabricksConfig config)
- Specified by:
configure
in interfaceCredentialsProvider
-
-