@Generated public class CredentialsManagerAPI extends Object
| Constructor and Description |
|---|
CredentialsManagerAPI(ApiClient apiClient)
Regular-use constructor
|
CredentialsManagerAPI(CredentialsManagerService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
ExchangeTokenResponse |
exchangeToken(ExchangeTokenRequest request)
Exchange tokens with an Identity Provider to get a new access token.
|
CredentialsManagerService |
impl() |
public CredentialsManagerAPI(ApiClient apiClient)
public CredentialsManagerAPI(CredentialsManagerService mock)
public ExchangeTokenResponse exchangeToken(ExchangeTokenRequest request)
POST /exchange-tokens/token is the documented public form, expressed via `google.api.http` below. GET /exchange-tokens/$exchange is a legacy alias used by the Spark driver's OAuth refresh path (DBHttpClient#get sends a body via HttpGetWithEntity) and stays on the legacy `option (rpc).endpoints` annotation: its path contains a literal `$`, which `google.api.http`'s LITERAL grammar does not allow, and `HttpPathParser` does not percent-decode template segments (so encoding as `%24exchange` would not match the literal `$exchange` path the Spark driver sends). Per-endpoint `visibility: PUBLIC_UNDOCUMENTED` preserves the DECO-7732 intent of suppressing the GET alias from the public API spec.
public CredentialsManagerService impl()
Copyright © 2026. All rights reserved.