Versions in this module Expand all Collapse all v0 v0.1.0 May 6, 2026 Changes in this version + func LoadEnvToken() string + type CredentialStore interface + Delete func(profile config.Profile) error + Load func(profile config.Profile) (*StoredCredential, error) + Save func(profile config.Profile, token string) (config.Profile, error) + type FileStore struct + func (s FileStore) Delete(profile config.Profile) error + func (s FileStore) Load(profile config.Profile) (*StoredCredential, error) + func (s FileStore) Save(profile config.Profile, token string) (config.Profile, error) + type KeychainStore struct + func (s KeychainStore) Delete(profile config.Profile) error + func (s KeychainStore) Load(profile config.Profile) (*StoredCredential, error) + func (s KeychainStore) Save(profile config.Profile, token string) (config.Profile, error) + type LoginInput struct + APIKey string + Environment string + ProfileName string + StorageMode config.StorageMode + type LoginResult struct + FileSaved bool + KeychainAvailable bool + KeychainMirrored bool + MCPReady bool + Profile config.Profile + Warnings []string + type ProfileSummary struct + CredentialError string + FileCredentialAvailable bool + IsDefault bool + KeychainCredentialAvail bool + MCPReady bool + PreferredRuntimeSource string + Profile config.Profile + Warnings []string + type ResolveInput struct + APIKey string + Environment string + ProfileName string + type ResolvedAuth struct + Environment string + ProfileName string + Token string + TokenSource string + type Service struct + func NewService() Service + func (s Service) Export(input ResolveInput) (map[string]string, error) + func (s Service) ListProfiles() ([]ProfileSummary, error) + func (s Service) Logout(profileName string) error + func (s Service) Resolve(input ResolveInput) (*ResolvedAuth, error) + func (s Service) SaveLogin(input LoginInput) (LoginResult, error) + func (s Service) Status(profileName string) (StatusResult, error) + func (s Service) UseProfile(profileName string) (ProfileSummary, error) + type StatusResult struct + CredentialError string + FileCredentialAvailable bool + KeychainCredentialAvail bool + MCPReady bool + PreferredRuntimeSource string + Profile config.Profile + Warnings []string + type StoredCredential struct + Source string + Token string