Table of Contents

Class AuthConfig

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Auth configuration to run the extension.

public class AuthConfig
Inheritance
AuthConfig
Inherited Members
Extension Methods

Properties

ApiKeyConfig

Config for API key auth.

[JsonPropertyName("apiKeyConfig")]
public ApiKeyConfig? ApiKeyConfig { get; set; }

Property Value

ApiKeyConfig

AuthType

Type of auth scheme.

[JsonPropertyName("authType")]
public AuthType? AuthType { get; set; }

Property Value

AuthType?

GoogleServiceAccountConfig

Config for Google Service Account auth.

[JsonPropertyName("googleServiceAccountConfig")]
public AuthConfigGoogleServiceAccountConfig? GoogleServiceAccountConfig { get; set; }

Property Value

AuthConfigGoogleServiceAccountConfig

HttpBasicAuthConfig

Config for HTTP Basic auth.

[JsonPropertyName("httpBasicAuthConfig")]
public AuthConfigHttpBasicAuthConfig? HttpBasicAuthConfig { get; set; }

Property Value

AuthConfigHttpBasicAuthConfig

OauthConfig

Config for user oauth.

[JsonPropertyName("oauthConfig")]
public AuthConfigOauthConfig? OauthConfig { get; set; }

Property Value

AuthConfigOauthConfig

OidcConfig

Config for user OIDC auth.

[JsonPropertyName("oidcConfig")]
public AuthConfigOidcConfig? OidcConfig { get; set; }

Property Value

AuthConfigOidcConfig