public class GithubIDTokenSource extends Object implements IDTokenSource
| Constructor and Description |
|---|
GithubIDTokenSource(String actionsIDTokenRequestURL,
String actionsIDTokenRequestToken,
HttpClient httpClient)
Constructs a new GithubIDTokenSource.
|
| Modifier and Type | Method and Description |
|---|---|
IDToken |
getIDToken(String audience)
Retrieves an ID token from GitHub Actions.
|
public GithubIDTokenSource(String actionsIDTokenRequestURL, String actionsIDTokenRequestToken, HttpClient httpClient)
actionsIDTokenRequestURL - The URL to request the ID token from GitHub Actions.actionsIDTokenRequestToken - The token used to authenticate the request.httpClient - The HTTP client to use for making requests.public IDToken getIDToken(String audience)
getIDToken in interface IDTokenSourceaudience - Optional audience claim for the token. If provided, it will be included in the
token request to GitHub Actions.DatabricksException - if the token request fails or if required configuration is missingCopyright © 2025. All rights reserved.