oto/agent-ui/definition/components/auth-token-reference/index.md

65 lines
1.7 KiB
Markdown

---
ui_doc_type: component
component_id: auth-token-reference
status: 구현됨
source_evidence:
- type: code
path: packages/flutter/oto_console/lib/src/oto_console_overview.dart
notes: "Active Auth Token Reference endpoint tile"
- type: code
path: packages/flutter/oto_console/lib/src/oto_console_contract.dart
notes: "OtoConsoleConfig.authTokenReference"
- type: docs
path: agent-roadmap/sdd/control-plane-product-surface/control-plane-security-audit-surface/SDD.md
notes: "token 원문이 아닌 표시 가능한 reference만 UI에 노출"
---
# Auth Token Reference
Component ID: `auth-token-reference`
Status: `구현됨`
## Source Evidence
| Type | Path | Notes |
|------|------|-------|
| code | `packages/flutter/oto_console/lib/src/oto_console_overview.dart` | Active Auth Token Reference 표시 |
| code | `packages/flutter/oto_console/lib/src/oto_console_contract.dart` | `OtoConsoleConfig.authTokenReference` |
| docs | `agent-roadmap/sdd/control-plane-product-surface/control-plane-security-audit-surface/SDD.md` | token reference 노출 기준 |
## Purpose
현재 runtime이 사용하는 인증 토큰을 원문이 아닌 표시 가능한 reference로만 보여준다.
## Used By
- `overview`: `overview.authentication`
## Anatomy
- security section header
- key icon tile
- token reference value or `None`
## Variants
- present: reference string 표시
- absent: `None` 표시
## States
- default
- absent
- truncated
- error: 없음
## Rules
- token 원문, credential, private URL credential을 표시하지 않는다.
- 값이 길면 ellipsis 처리한다.
## Decision History
- 2026-06-24: SDD의 노출 경계를 반영해 `auth-token-reference` component로 정의했다.