consul/ui/packages/consul-ui/app/components/auth-profile
John Cowen 6bdb2c2216
ui: Upgrade AuthDialog (#11913)
- Move AuthDialog to use a Glimmer Component plus native named blocks/slots.
- Unravel the Auth* contextual components, there wasn't a lot of point having them as contextual components and now the AuthDialog (non-view-specific state machine component) can be used entirely separately from the view-specific components (AuthForm and AuthProfile).
- Move all the ACL related components that are in the main app chrome/navigation (our HashicorpConsul component) in our consul-acls sub package/module (which will eventually be loaded on demand only when ACLs are enabled)
2022-01-07 19:08:25 +00: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)

---