MCPcopy Create free account
hub / github.com/parse-community/parse-server / restoreAuthentication

Function restoreAuthentication

spec/ParseUser.spec.js:1355–1366  ·  view source on GitHub ↗
(authData)

Source from the content-addressed store, hash-verified

1353 }
1354 },
1355 restoreAuthentication(authData) {
1356 if (!authData) {
1357 this.synchronizedUserId = null;
1358 this.synchronizedAuthToken = null;
1359 this.synchronizedExpiration = null;
1360 return true;
1361 }
1362 this.synchronizedUserId = authData.id;
1363 this.synchronizedAuthToken = authData.access_token;
1364 this.synchronizedExpiration = authData.expiration_date;
1365 return true;
1366 },
1367 getAuthType() {
1368 return 'myoauth';
1369 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…