open-consul/ui/packages/consul-ui/app/components/auth-profile
John Cowen d47ccb859f
ui: Improves UI engineering docs (#9875)
Also fixes some typos in with-overlay
2021-03-17 15:58:17 +00:00
..
index.hbs ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
index.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
README.mdx ui: Improves UI engineering docs (#9875) 2021-03-17 15:58:17 +00:00

---
class: ember
---
# AuthProfile

```hbs preview-template
<AuthProfile @item={{hash AccessorID='123456-1234567-123456'}} />
```

A straightforward partial-like component for rendering a user profile.

Only the last 8 characters are shown.

### Arguments

| Argument | Type | Default | Description |
| --- | --- | --- | --- |
| `item` | `Object` |  | A Consul shaped token object (currently only requires an AccessorID property to be set |

### See

- [Component Source Code](./index.js)
- [Template Source Code](./index.hbs)

---