diff options
| author | Tommaso Sciortino <[email protected]> | 2025-06-18 09:49:13 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-18 09:49:13 -0700 |
| commit | 3453b977b8d200ebb5195cc2db38d89dbc2a7323 (patch) | |
| tree | 6607d774db9d7aed03f30e57e35d2d57fc597596 /packages/core/src/code_assist/server.ts | |
| parent | 5b2cea8eda60e9cc07a82a0bb69d5f00a13bd96b (diff) | |
Support logging in with Application Default Credentials (#1157)
Co-authored-by: N. Taylor Mullen <[email protected]>
Diffstat (limited to 'packages/core/src/code_assist/server.ts')
| -rw-r--r-- | packages/core/src/code_assist/server.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/core/src/code_assist/server.ts b/packages/core/src/code_assist/server.ts index 2c5d6db9..d700353c 100644 --- a/packages/core/src/code_assist/server.ts +++ b/packages/core/src/code_assist/server.ts @@ -4,7 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -import { OAuth2Client } from 'google-auth-library'; +import { AuthClient } from 'google-auth-library'; import { LoadCodeAssistResponse, LoadCodeAssistRequest, @@ -42,7 +42,7 @@ export const CODE_ASSIST_API_VERSION = 'v1internal'; export class CodeAssistServer implements ContentGenerator { constructor( - readonly auth: OAuth2Client, + readonly auth: AuthClient, readonly projectId?: string, readonly httpOptions: HttpOptions = {}, ) {} |
