AppHub Tether
User
Returns information about the account currently connected in AppHub Store — useful for personalizing your app UI without a separate login flow.
GET
http://127.0.0.1:7420/user
This endpoint requires AppHub Store to be running on your machine. The live tester calls your local AppHub instance directly.
No parameters required.
Test this endpoint
Headers
Success response — authenticated 200
{
"ok": true,
"id": "12345",
"username": "vanelton",
"email": "user@example.com",
"avatar": "https://..."
}
Response — no account connected
{
"ok": false,
"reason": "no_account"
}
Response fields
| Field | Type | Description |
|---|---|---|
| ok | boolean | true if a user is connected |
| id | string | Account ID |
| username | string | Display name |
| string | Account email (may be null) | |
| avatar | string | Avatar image URL (may be null) |