Users2FALoginRequest 스키마
Users2FALoginRequest 스키마
2차 인증 사용자 로그인 세부 정보예요.
출처: 문서
본문
스키마 — Users2FALoginRequest · 유형: object — 2차 인증 사용자 로그인 세부 정보.
code · 필수 — 유형: string — 인증할 Docker Hub 계정의 시간 기반 일회용 비밀번호(TOTP).
{
"description": "The Time-based One-Time Password of the Docker Hub account to authenticate with.\n",
"example": "123456",
"type": "string"
}
login_2fa_token · 필수 — 유형: string — /v2/users/login API에서 반환된 중간 2FA 토큰.
{
"description": "The intermediate 2FA token returned from `/v2/users/login` API.",
"example": "eyJhbG...sw5c",
"type": "string"
}
전체 스키마:
{
"description": "Second factor user login details",
"examples": [
{
"code": "123456",
"login_2fa_token": "eyJhbG...sw5c"
}
],
"properties": {
"code": {
"description": "The Time-based One-Time Password of the Docker Hub account to authenticate with.\n",
"example": "123456",
"type": "string"
},
"login_2fa_token": {
"description": "The intermediate 2FA token returned from `/v2/users/login` API.",
"example": "eyJhbG...sw5c",
"type": "string"
}
},
"required": [
"login_2fa_token",
"code"
],
"type": "object"
}