PostUsersLoginSuccessResponse 스키마

PostUsersLoginSuccessResponse 스키마

성공적인 사용자 로그인 응답이에요.

출처: 문서

본문

스키마 — PostUsersLoginSuccessResponse · 유형: object — 성공적인 사용자 로그인 응답.

token — 유형: string — 생성된 인증 토큰. 이 토큰은 HTTP Authorization 헤더에서 JWT로 사용해 Docker Hub API로 인증할 수 있어요.

{
  "description": "Created authentication token.\nThis token can be used in the HTTP Authorization header as a JWT to authenticate with the Docker Hub APIs.\n",
  "example": "eyJhbG...sw5c",
  "type": "string"
}

전체 스키마:

{
  "description": "successful user login response",
  "examples": [
    {
      "token": "eyJhbG...sw5c"
    }
  ],
  "properties": {
    "token": {
      "description": "Created authentication token.\nThis token can be used in the HTTP Authorization header as a JWT to authenticate with the Docker Hub APIs.\n",
      "example": "eyJhbG...sw5c",
      "type": "string"
    }
  },
  "type": "object"
}

더 알아보기 (Learn more)