The following variables can be injected into the header in order to display information about the connected user:
- $isAuthenticated is a boolean that indicates if a user is connected
- $user is an object representing the current connected user (or null). It contains the following:
- $user.id (string) is a unique identifier of the user
- $user.displayName (string) is the name of the user
- $user.emailAddress (string) is the email address of the user
- $user.authenticationIdentifiers is a <string, string> map containing an identifier for each realm the user is connected to