Interface AuthConfig

The authentication config to access the API.

Properties

apiKey?: string

The authentication config to access the API. Only API key is supported. This field is not supported in Gemini API.

apiKeyConfig?: ApiKeyConfig

Config for API key auth.

authType?: AuthType

Type of auth scheme.

googleServiceAccountConfig?: AuthConfigGoogleServiceAccountConfig

Config for Google Service Account auth.

httpBasicAuthConfig?: AuthConfigHttpBasicAuthConfig

Config for HTTP Basic auth.

oauthConfig?: AuthConfigOauthConfig

Config for user oauth.

Config for user OIDC auth.