Luis Paterrebuild branchf5dc3801 year agoHistory
17 lines · 733 B · Go
RawDownload
// Package auth provides authentication functionality for various AI service providers.// It includes interfaces and implementations for token storage and authentication methods.package auth // TokenStorage defines the interface for storing authentication tokens.// Implementations of this interface should provide methods to persist// authentication tokens to a file system location.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}

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