active_token()#
- function active_token()#
Get the token SciScript sends with requests, or
Nonewithout 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, orNone.- Return type:
str | None