MINARA

TOTP 상태

GET /v1/security/totp/status: Minara의 `normalizeTotpStatus` 어댑터를 통한 `/auth/me` 투영을 반환합니다.

GET /v1/security/totp/status

Minara의 normalizeTotpStatus 어댑터를 통한 /auth/me 투영을 반환합니다. 출금에 필요한 2차 인증 수단을 결정하는 값은 totp_enabled입니다. withdraw_enabled는 계정이 저장한 설정일 뿐 업스트림 출금 가드는 읽지 않습니다. new_device_enabled는 첫 로그인 시의 TOTP를 제어합니다. has_secret은 인증 앱이 여전히 연결되어 있는지 알려줍니다. 2단계 인증을 꺼도 secret은 남기 때문에 totp_enabled: falsehas_secret: true가 함께 오면 같은 인증 앱으로 다시 켤 수 있다는 뜻이고, 연결을 해제하면 둘 다 지워집니다. schema_source === "indeterminate"인 경우 값은 실제 판독이 아니라 대체 기본값이므로 호출자는 아무것도 가정하지 말아야 합니다.

메서드GET
경로/v1/security/totp/status
인증GATEWAY_AUTH_TOKEN이 설정된 경우 Authorization: Bearer <token> 필요
분류auth

응답 본문

{ "totp_enabled": true, "withdraw_enabled": true, "new_device_enabled": false, "has_secret": true, "schema_source": "known" }

목차