pub(crate) async fn maybe_get_authenticated_session(
session: Option<&Session>,
) -> Option<(&Session, TowerSessionData)>Expand description
Attempts to retrieve session data from a TowerSession, if available.
Session data is present only if an authenticated session has been
established via handle_login.