Versions in this module Expand all Collapse all v6 v6.9.3 Mar 25, 2026 Changes in this version + var ErrRefreshNotSupported = errors.New("cliproxy auth: refresh not supported") + func FetchAntigravityProjectID(ctx context.Context, accessToken string, httpClient *http.Client) (string, error) + func GetTokenStore() coreauth.Store + func RegisterTokenStore(store coreauth.Store) + type AntigravityAuthenticator struct + func (AntigravityAuthenticator) Login(ctx context.Context, cfg *config.Config, opts *LoginOptions) (*coreauth.Auth, error) + func (AntigravityAuthenticator) Provider() string + func (AntigravityAuthenticator) RefreshLead() *time.Duration + type Authenticator interface + Login func(ctx context.Context, cfg *config.Config, opts *LoginOptions) (*coreauth.Auth, error) + Provider func() string + RefreshLead func() *time.Duration + func NewAntigravityAuthenticator() Authenticator + func NewKimiAuthenticator() Authenticator + type ClaudeAuthenticator struct + CallbackPort int + func NewClaudeAuthenticator() *ClaudeAuthenticator + func (a *ClaudeAuthenticator) Login(ctx context.Context, cfg *config.Config, opts *LoginOptions) (*coreauth.Auth, error) + func (a *ClaudeAuthenticator) Provider() string + func (a *ClaudeAuthenticator) RefreshLead() *time.Duration + type CodexAuthenticator struct + CallbackPort int + func NewCodexAuthenticator() *CodexAuthenticator + func (a *CodexAuthenticator) Login(ctx context.Context, cfg *config.Config, opts *LoginOptions) (*coreauth.Auth, error) + func (a *CodexAuthenticator) Provider() string + func (a *CodexAuthenticator) RefreshLead() *time.Duration + type EmailRequiredError struct + Prompt string + func (e *EmailRequiredError) Error() string + type FileTokenStore struct + func NewFileTokenStore() *FileTokenStore + func (s *FileTokenStore) Delete(ctx context.Context, id string) error + func (s *FileTokenStore) List(ctx context.Context) ([]*cliproxyauth.Auth, error) + func (s *FileTokenStore) Save(ctx context.Context, auth *cliproxyauth.Auth) (string, error) + func (s *FileTokenStore) SetBaseDir(dir string) + type GeminiAuthenticator struct + func NewGeminiAuthenticator() *GeminiAuthenticator + func (a *GeminiAuthenticator) Login(ctx context.Context, cfg *config.Config, opts *LoginOptions) (*coreauth.Auth, error) + func (a *GeminiAuthenticator) Provider() string + func (a *GeminiAuthenticator) RefreshLead() *time.Duration + type IFlowAuthenticator struct + func NewIFlowAuthenticator() *IFlowAuthenticator + func (a *IFlowAuthenticator) Login(ctx context.Context, cfg *config.Config, opts *LoginOptions) (*coreauth.Auth, error) + func (a *IFlowAuthenticator) Provider() string + func (a *IFlowAuthenticator) RefreshLead() *time.Duration + type KimiAuthenticator struct + func (KimiAuthenticator) Provider() string + func (KimiAuthenticator) RefreshLead() *time.Duration + func (a KimiAuthenticator) Login(ctx context.Context, cfg *config.Config, opts *LoginOptions) (*coreauth.Auth, error) + type LoginOptions struct + CallbackPort int + Metadata map[string]string + NoBrowser bool + ProjectID string + Prompt func(prompt string) (string, error) + type Manager struct + func NewManager(store coreauth.Store, authenticators ...Authenticator) *Manager + func (m *Manager) Login(ctx context.Context, provider string, cfg *config.Config, opts *LoginOptions) (*coreauth.Auth, string, error) + func (m *Manager) Register(a Authenticator) + func (m *Manager) SetStore(store coreauth.Store) + type ProjectSelectionError struct + Email string + Projects []interfaces.GCPProjectProjects + func (e *ProjectSelectionError) Error() string + func (e *ProjectSelectionError) ProjectsDisplay() []interfaces.GCPProjectProjects + type QwenAuthenticator struct + func NewQwenAuthenticator() *QwenAuthenticator + func (a *QwenAuthenticator) Login(ctx context.Context, cfg *config.Config, opts *LoginOptions) (*coreauth.Auth, error) + func (a *QwenAuthenticator) Provider() string + func (a *QwenAuthenticator) RefreshLead() *time.Duration v6.9.2-rc1 Mar 25, 2026