Dump the current state of the connections, which
contains the cookies and isLoggedIn property
of the connection
Wrapped fetch function that will make sure connection is logged in
before doing the request.
Will auto-login if not already logged in, as long as useCredential
is set up, else throwing error.
Auto login is throttled by this.isLoggedIn, will wait for ongoing
login call before calling own function.
Generate cookies (mainly to get PHPSESSID) from the server
by touching /app_login/
Logging in to prodeskel by POST-ing to /app_login/.
Requires cookies to be generated beforehand and PHPSESSID cookie exist.
If useCredential is set up, input credential will be ignored.
Will call this.generateCookies() when no cookies found.
Calling this method will make sure that cookies is generated, cookies.sessionId is exist, and this.isLogin exist
Throw error on fail attempt.
Generated using TypeDoc
Class to handle cookies management, login, and fetching. Other implementations including: