MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / ensurePersistedSessionLoaded

Function ensurePersistedSessionLoaded

src/webInterface.cpp:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void ensurePersistedSessionLoaded() {
116 if (sessionTokenLoaded) return;
117 sessionTokenLoaded = true;
118 persistedSessionToken = loadSessionToken();
119 if (!persistedSessionToken.isEmpty()) sessions[persistedSessionToken] = launcherMillis();
120}
121
122String generateToken(int length = 24) {
123 String token = "";

Callers 3

checkUserWebAuthFunction · 0.85
logoutHandlerFunction · 0.85
configureWebServerFunction · 0.85

Calls 2

loadSessionTokenFunction · 0.85
launcherMillisFunction · 0.85

Tested by

no test coverage detected