TOTP の状態
GET /v1/security/totp/status:Minara の `normalizeTotpStatus` アダプターを通じた `/auth/me` の投影を返します。
GET /v1/security/totp/status
Minara の normalizeTotpStatus アダプターを通じた /auth/me の投影を返します。出金に必要な第二要素を決めるのは totp_enabled です。withdraw_enabled はアカウントが保存している設定であり、上流の出金ガードは読み取りません。new_device_enabled は初回ログイン時の TOTP を制御します。has_secret は認証アプリが紐付いたままかどうかを示します。2段階認証をオフにしてもシークレットは残るため、totp_enabled: false と has_secret: true の組み合わせは同じ認証アプリでオンに戻せることを意味します。バインドを解除すると両方が消えます。schema_source === "indeterminate" のときは値が読み取り結果ではなくフォールバックなので、呼び出し元は何も仮定してはいけません。
| メソッド | GET |
| パス | /v1/security/totp/status |
| 認証 | 既定では Authorization: Bearer <token> が必要(設定済みまたは自動生成の token)。明示的なループバック開発モードのみ省略可能(MINARA_ALLOW_INSECURE_BIND=1、GATEWAY_AUTH_TOKEN は未設定) |
| カテゴリ | auth |
レスポンス本文
{ "totp_enabled": true, "withdraw_enabled": true, "new_device_enabled": false, "has_secret": true, "schema_source": "known" }