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
¶
| Path | Synopsis |
|---|---|
|
Package antigravity provides the minimal constants needed to refresh Antigravity credentials.
|
Package antigravity provides the minimal constants needed to refresh Antigravity credentials. |
|
Package claude provides token refresh functionality for Anthropic credentials used by the scheduler.
|
Package claude provides token refresh functionality for Anthropic credentials used by the scheduler. |
|
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 kimi provides token refresh for Kimi (Moonshot AI) credentials used by the scheduler.
|
Package kimi provides token refresh for Kimi (Moonshot AI) credentials used by the scheduler. |
Click to show internal directories.
Click to hide internal directories.