Class AzureExternalBrowserProvider

java.lang.Object
com.databricks.jdbc.auth.AzureExternalBrowserProvider
All Implemented Interfaces:
com.databricks.sdk.core.CredentialsProvider

public class AzureExternalBrowserProvider extends Object implements com.databricks.sdk.core.CredentialsProvider
Production-ready Azure U2M OAuth provider for Databricks SQL.

This provider implements the OAuth 2.0 Authorization Code flow with PKCE (Proof Key for Code Exchange) for Azure Databricks workspaces. It handles: - OAuth configuration discovery - PKCE challenge generation - Browser-based authentication - Token exchange and refresh - Automatic token expiration handling

  • Constructor Details

  • Method Details

    • authType

      public String authType()
      Specified by:
      authType in interface com.databricks.sdk.core.CredentialsProvider
    • configure

      public com.databricks.sdk.core.HeaderFactory configure(com.databricks.sdk.core.DatabricksConfig databricksConfig)
      Specified by:
      configure in interface com.databricks.sdk.core.CredentialsProvider