def METHOD_NAME() -> Optional[str]:
    """Return the user ID associated with the authentication token.
    Returns:
        User ID of the authenticated user, None otherwise.
    """
    user = token_auth.current_user()
    return str(user.id) if user else None