Documentation
¶
Overview ¶
Package auth 提供 kite 的登录态命令:扫码/手机号登录、登录状态、登出。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoginCellphoneCommand ¶
NewLoginCellphoneCommand 手机号验证码登录,成功后同样落盘会话。
func NewLoginCommand ¶
NewLoginCommand 扫码登录:取二维码 → 轮询 → cookie 持久化到本地会话文件。
func NewLoginStatusCommand ¶
NewLoginStatusCommand 查看当前登录态。 人类模式 cookie 分段脱敏;--json/管道输出完整值(脚本取凭证是合法用途)。
func NewLogoutCommand ¶
NewLogoutCommand 登出并删除本地会话文件。 远端登出失败(如 cookie 已过期)仅告警不阻断本地清理。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.