public class DatabricksOAuthTokenSource extends Object implements TokenSource
| Modifier and Type | Class and Description |
|---|---|
static class |
DatabricksOAuthTokenSource.Builder
Builder class for constructing DatabricksOAuthTokenSource instances.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
getToken()
Retrieves an OAuth token by exchanging an ID token.
|
public Token getToken()
getToken in interface TokenSourceDatabricksException - when the token exchange fails.IllegalArgumentException - when the required string parameters are empty.NullPointerException - when any of the required parameters are null.Copyright © 2026. All rights reserved.