open-consul/ui/packages/consul-ui/app/components/auth-profile
Valeriia Ruban f404d3eb13
feat: update typography to consume hds styles (#16577)
2023-03-14 19:49:14 -07:00
..
README.mdx ui: Upgrade AuthDialog (#11913) 2022-01-07 19:08:25 +00:00
index.hbs Add UI copyright headers files (#16614) 2023-03-14 09:18:55 -04:00
index.scss feat: update typography to consume hds styles (#16577) 2023-03-14 19:49:14 -07:00

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)

---