Include local config, CPA auth files, account dumps, and temp-mail deploy helpers for the private Gitea repo.
31 lines
665 B
Python
31 lines
665 B
Python
"""CPA (CLIProxyAPI) xai auth 组装 / 写盘 / 推送远端。"""
|
|
|
|
from .client import CpaPushError, push_auth_file
|
|
from .schema import (
|
|
API_BASE_URL,
|
|
CLI_BASE_URL,
|
|
CLIENT_ID,
|
|
DEFAULT_BASE_URL,
|
|
REDIRECT_URI,
|
|
TOKEN_ENDPOINT,
|
|
build_cpa_xai_auth,
|
|
credential_file_name,
|
|
expired_from_access_token,
|
|
)
|
|
from .writer import write_cpa_xai_auth
|
|
|
|
__all__ = [
|
|
"API_BASE_URL",
|
|
"CLI_BASE_URL",
|
|
"CLIENT_ID",
|
|
"DEFAULT_BASE_URL",
|
|
"REDIRECT_URI",
|
|
"TOKEN_ENDPOINT",
|
|
"CpaPushError",
|
|
"build_cpa_xai_auth",
|
|
"credential_file_name",
|
|
"expired_from_access_token",
|
|
"push_auth_file",
|
|
"write_cpa_xai_auth",
|
|
]
|