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.authenticationRealm (string) is the realm identifier.
- $user.authenticationId (string) is the identifier of the user inside the realm.