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
AuthType
Type of auth scheme.
[JsonPropertyName("authType")]
public AuthType? AuthType { get; set; }
Property Value
GoogleServiceAccountConfig
Config for Google Service Account auth.
[JsonPropertyName("googleServiceAccountConfig")]
public AuthConfigGoogleServiceAccountConfig? GoogleServiceAccountConfig { get; set; }
Property Value
HttpBasicAuthConfig
Config for HTTP Basic auth.
[JsonPropertyName("httpBasicAuthConfig")]
public AuthConfigHttpBasicAuthConfig? HttpBasicAuthConfig { get; set; }
Property Value
OauthConfig
Config for user oauth.
[JsonPropertyName("oauthConfig")]
public AuthConfigOauthConfig? OauthConfig { get; set; }
Property Value
OidcConfig
Config for user OIDC auth.
[JsonPropertyName("oidcConfig")]
public AuthConfigOidcConfig? OidcConfig { get; set; }