mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 04:50:52 +08:00
Add claude code support
This commit is contained in:
12
internal/auth/empty/token.go
Normal file
12
internal/auth/empty/token.go
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user