JoYiHubv0.30.0

auth status

Inspect the active CLI sign-in identity, scopes and expiration

语法

joyihub auth status

参数

选项

属性

类型

示例

joyihub auth status

响应示例

{
  "credential": {
    "expires_at": "2026-11-16T04:04:38Z",
    "expires_in_seconds": 86400,
    "id": "credential-id"
  },
  "logged_in": true,
  "origin": "https://joyihub.thebinwang.com",
  "user": {
    "id": "user-id"
  }
}

返回字段

属性

类型

错误码

NOT_AUTHENTICATED · Exit 3

本机没有有效 CLI 登录凭据

{
  "error": {
    "code": "NOT_AUTHENTICATED",
    "message": "本机没有有效 CLI 登录凭据"
  }
}

本页目录