Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Silentely/eSIM-Tools
/ isLoggedIn
Method
isLoggedIn
src/simyo/js/modules/auth-handler.js:73–75 ·
view source on GitHub ↗
* 检查登录状态 * @returns {boolean} 是否已登录
()
Source
from the content-addressed store, hash-verified
71
* @returns {boolean} 是否已登录
72
*/
73
isLoggedIn() {
74
return
!!stateManager.get(
'sessionToken'
);
75
}
76
77
/**
78
* 获取当前session token
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected