Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthKind ¶
type AuthKind string
const AuthAPIKey AuthKind = "api_key"
const AuthOAuth AuthKind = "oauth"
type Provider ¶
type Provider struct {
ID ai.ProviderID
Name string
API ai.API
APIs []ai.API
BaseURL string
Auth AuthKind
OAuth bool
Env []string
// APIKeyEnv is the subset of Env whose value is request authentication.
// The remaining names configure ambient credentials or provider endpoints.
APIKeyEnv []string
Methods auth.ProviderAuth
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.