Lines Matching refs:authInfo
56 var authInfo = JSON.parse(this.token);
58 if (authInfo != null && authInfo.current != null)
60 this.userId = authInfo.current.userId;
229 var authInfo = JSON.parse(this.getPersistentToken(true));
232 if (authInfo != null)
234 if (authInfo.current != null)
236 curUserId = authInfo.current.userId;
237 users.push(authInfo[curUserId].user);
242 for (var id in authInfo)
246 users.push(authInfo[id].user);
625 var authInfo = JSON.parse(this.getPersistentToken(true));
627 if (authInfo && authInfo.current != null)
629 this.userId = authInfo.current.userId;
2581 var authInfo = JSON.parse(this.getPersistentToken(true)) || {};
2584 delete authInfo.current;
2585 delete authInfo[this.userId];
2588 for (var id in authInfo)
2590 authInfo.current = {userId: id, expires: 0}; //An expired token
2594 DrawioClient.prototype.setPersistentToken.call(this, JSON.stringify(authInfo)); argument
2599 var authInfo = JSON.parse(this.getPersistentToken(true)) || {};
2602 authInfo.current = userAuthInfo;
2603 authInfo[this.userId] = { class in DriveClient.setPersistentToken
2607 DrawioClient.prototype.setPersistentToken.call(this, JSON.stringify(authInfo), sessionOnly); argument