open-consul/ui/packages/consul-ui/app/components/auth-profile/README.mdx

25 lines
496 B
Plaintext

# 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)
---