 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package auth provides authentication functionality for various AI service providers. It includes interfaces and implementations for token storage and authentication methods.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenStorage ¶
type TokenStorage interface {
	// SaveTokenToFile persists authentication tokens to the specified file path.
	//
	// Parameters:
	//   - authFilePath: The file path where the authentication tokens should be saved
	//
	// Returns:
	//   - error: An error if the save operation fails, nil otherwise
	SaveTokenToFile(authFilePath string) error
}
    TokenStorage defines the interface for storing authentication tokens. Implementations of this interface should provide methods to persist authentication tokens to a file system location.
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| Package claude provides OAuth2 authentication functionality for Anthropic's Claude API. | Package claude provides OAuth2 authentication functionality for Anthropic's Claude API. | 
| Package codex provides authentication and token management for OpenAI's Codex API. | Package codex provides authentication and token management for OpenAI's Codex API. | 
| Package empty provides a no-operation token storage implementation. | Package empty provides a no-operation token storage implementation. | 
| Package gemini provides authentication and token management functionality for Google's Gemini AI services. | Package gemini provides authentication and token management functionality for Google's Gemini AI services. | 
| Package qwen provides authentication and token management functionality for Alibaba's Qwen AI services. | Package qwen provides authentication and token management functionality for Alibaba's Qwen AI services. | 
 Click to show internal directories. 
   Click to hide internal directories.