Is there an endpoint to check if a user is logged in

谢谢您的回复!非常感激。

是的,我现在明白了。通过 API 登出的唯一问题是,用户将从所有会话中登出(在所有设备上——因为 API 无法区分当前浏览器的会话和其他已登录的浏览器)。