| Package | Description |
|---|---|
| com.databricks.sdk.core | |
| com.databricks.sdk.core.oauth |
| Modifier and Type | Method and Description |
|---|---|
protected Token |
CliTokenSource.refresh() |
| Modifier and Type | Field and Description |
|---|---|
protected Token |
RefreshableTokenSource.token |
| Modifier and Type | Method and Description |
|---|---|
Token |
TokenSource.getToken() |
Token |
ErrorTokenSource.getToken()
Always throws a DatabricksException with the configured error message.
|
Token |
RefreshableTokenSource.getToken() |
Token |
DataPlaneTokenSource.getToken(String endpoint,
String authDetails)
Retrieves a token for the specified endpoint and authorization details.
|
Token |
FileTokenCache.load() |
Token |
TokenCache.load()
Loads a Token from the cache.
|
protected Token |
SessionCredentials.refresh() |
protected Token |
ClientCredentials.refresh() |
protected abstract Token |
RefreshableTokenSource.refresh() |
protected Token |
EndpointTokenSource.refresh()
Fetches an endpoint-specific dataplane token by exchanging a control plane token.
|
Token |
DatabricksOAuthTokenSource.refresh()
Retrieves an OAuth token by exchanging an ID token.
|
protected static Token |
RefreshableTokenSource.retrieveToken(HttpClient hc,
String clientId,
String clientSecret,
String tokenUrl,
Map<String,String> params,
Map<String,String> headers,
AuthParameterPosition position)
Helper method implementing OAuth token refresh.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FileTokenCache.save(Token token) |
void |
TokenCache.save(Token token)
Saves a Token to the cache.
|
| Modifier and Type | Method and Description |
|---|---|
static OAuthHeaderFactory |
OAuthHeaderFactory.fromSuppliers(Supplier<Token> tokenSupplier,
Supplier<Map<String,String>> headerSupplier)
Creates an OAuthHeaderFactory from separate token and header suppliers.
|
| Constructor and Description |
|---|
RefreshableTokenSource(Token token) |
Copyright © 2025. All rights reserved.