Documentation
¶
Overview ¶
Package providerauth is the Sahara OSS credential broker. It owns local credential profiles and login UX while delegating provider protocol details to go-llm.
Index ¶
Constants ¶
View Source
const ( KindOpenAISubscription = "openai_subscription" DefaultProfile = "personal" )
Variables ¶
This section is empty.
Functions ¶
func DefaultDir ¶
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
func (*Broker) Authenticator ¶
func (b *Broker) Authenticator(kind, profile string) (llmclient.Authenticator, error)
type FileStore ¶
type FileStore struct {
// contains filtered or unexported fields
}
FileStore is Sahara OSS's portable credential store. Files and their parent directory are private to the current user, and replacement is atomic. A host distribution can supply a different llmauth.Store (for example an OS keyring) without changing provider code.
func NewFileStore ¶
Click to show internal directories.
Click to hide internal directories.