.. py:currentmodule:: astropathdb.db_io.credentials :py:func:`.active_token` ================================== .. py:function:: active_token() :single-line-parameter-list: Get the token SciScript sends with requests, or ``None`` without a session. SciScript's missing-token warnings are ignored because a missing session is reported by the caller; an empty token counts as missing. :returns: The authentication token from ``Authentication.getToken``, or ``None``.