consul/ui/packages/consul-ui/app/components/auth-profile
Valeriia Ruban ad25ba3068
feat: update typography to consume hds styles (#16577)
2023-03-14 19:49:14 -07:00
..
README.mdx
index.hbs
index.scss

README.mdx

# AuthProfile

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

Only the last 8 characters are shown.

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

## Arguments

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

## See

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

---