I am learning Dancer2 and find this module quite useful! I see that logged-in-user information is available in a TT2 template through vars and session. For example, both of these work:
[% if vars.logged_in_user_hash %]
<p>(Hash) You are logged in as
[% vars.logged_in_user_hash.name | html %]</p>
[% end %]
[% if session.logged_in_user %]
<p>(Session) You are logged in as
[% session.logged_in_user | html %]@[% session.logged_in_user_realm | html %]</p>
[% end %]
However, I do not see vars.logged_in_user_hash or session.logged_in{_user,_user_realm} documented in the POD for this module. Is any of those part of the public API of this module? If so, could they be documented? Thanks for considering this question!