Table of Contents

Class AuthConfigOidcConfig

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Config for user OIDC auth.

public class AuthConfigOidcConfig
Inheritance
AuthConfigOidcConfig
Inherited Members
Extension Methods

Properties

IdToken

OpenID Connect formatted ID token for extension endpoint. Only used to propagate token from runtime_auth_config at request time.

[JsonPropertyName("idToken")]
public string? IdToken { get; set; }

Property Value

string

ServiceAccount

The service account used to generate an OpenID Connect (OIDC)-compatible JWT token signed by the Google OIDC Provider for extension endpoint. The audience for the token will be set to the URL in the server url defined in the OpenApi spec. If the service account is provided, the service account should grant iam.serviceAccounts.getOpenIdToken permission to Vertex AI Extension Service Agent.

[JsonPropertyName("serviceAccount")]
public string? ServiceAccount { get; set; }

Property Value

string