auth

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: MIT Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL