Table of Contents

Enum AuthType

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Type of auth scheme.

[JsonConverter(typeof(JsonStringEnumConverter<AuthType>))]
public enum AuthType
Extension Methods

Fields

AUTH_TYPE_UNSPECIFIED = 0

Auth type unspecified.

NO_AUTH = 1

No Auth.

API_KEY_AUTH = 2

API Key Auth.

HTTP_BASIC_AUTH = 3

HTTP Basic Auth.

GOOGLE_SERVICE_ACCOUNT_AUTH = 4

Google Service Account Auth.

OAUTH = 5

OAuth auth.

OIDC_AUTH = 6

OpenID Connect (OIDC) Auth.