Files
CLIProxyAPI/internal/auth/empty/token.go
Luis Pater d58cc55cb2
Some checks failed
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
Add claude code support
2025-08-21 02:53:28 +08:00

13 lines
310 B
Go

package empty
type EmptyStorage struct {
// Type indicates the type (gemini, chatgpt, claude) of token storage.
Type string `json:"type"`
}
// SaveTokenToFile serializes the token storage to a JSON file.
func (ts *EmptyStorage) SaveTokenToFile(authFilePath string) error {
ts.Type = "empty"
return nil
}