25 lines · 766 B · Go
RawDownload
package cmd import (	sdkAuth "github.com/router-for-me/CLIProxyAPI/v6/sdk/auth") // newAuthManager creates a new authentication manager instance with all supported// authenticators and a file-based token store. It initializes authenticators for// Gemini, Codex, Claude, and Qwen providers.//// Returns://   - *sdkAuth.Manager: A configured authentication manager instancefunc newAuthManager() *sdkAuth.Manager {	store := sdkAuth.GetTokenStore()	manager := sdkAuth.NewManager(store,		sdkAuth.NewGeminiAuthenticator(),		sdkAuth.NewCodexAuthenticator(),		sdkAuth.NewClaudeAuthenticator(),		sdkAuth.NewQwenAuthenticator(),		sdkAuth.NewIFlowAuthenticator(),		sdkAuth.NewAntigravityAuthenticator(),		sdkAuth.NewKimiAuthenticator(),	)	return manager}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t