Function computeAuthenticatedBanner
- computeAuthenticatedBanner(onOpenAuthenticationWindow, onDismissBanner, username): HTMLDivElement
Parameters
- onOpenAuthenticationWindow: (() => void)
- onDismissBanner: (() => void)
- username: null | string
Returns HTMLDivElement
Creates a DOM element representing a banner for the user to know which account they're using and also to allow switching to another account.