发布

  • Refactor user onboarding and token management

    frostbyte_neo 发布于 2025-07-03 23:53:07 +00:00

    • Enhanced the Client initialization to include TokenStorage and configuration parameters.
    • Replaced SaveTokenToFile with a Client method for better encapsulation.
    • Improved onboarding flow with project ID verification and API enablement checks.
    • Refactored token saving logic to ensure proper handling of directory creation and JSON encoding.
    • Removed unused file-related code in auth.go for improved maintainability.
    下载附件