Defined in: react-ui/src/components/ApproveDevice.tsx:9
What the hub knows about a pending code (hub.lookupDevice(code, user); extra fields are ignored).
| Property |
Type |
Description |
Defined in |
expiresAt? |
string |
- |
react-ui/src/components/ApproveDevice.tsx:13 |
name? |
string |
The computer’s name as sent by uncage setup. |
react-ui/src/components/ApproveDevice.tsx:11 |
os? |
string |
- |
react-ui/src/components/ApproveDevice.tsx:12 |
repairsMachine? |
| { id: string; name: string; } | null |
Approving re-pairs (rotates the token of) this existing computer of the user. |
react-ui/src/components/ApproveDevice.tsx:19 |
requestedAt? |
string |
When uncage setup asked for the code (ISO), shown as relative time. |
react-ui/src/components/ApproveDevice.tsx:15 |
requestIp? |
string | null |
The requesting computer’s IP as the hub saw it; null = unknown (not shown). |
react-ui/src/components/ApproveDevice.tsx:17 |