MCPcopy
hub / github.com/parse-community/parse-server / authenticate

Function authenticate

spec/ParseUser.spec.js:1346–1354  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

1344 synchronizedExpiration: null,
1345
1346 authenticate(options) {
1347 if (this.shouldError) {
1348 options.error(this, 'An error occurred');
1349 } else if (this.shouldCancel) {
1350 options.error(this, null);
1351 } else {
1352 options.success(this, this.authData);
1353 }
1354 },
1355 restoreAuthentication(authData) {
1356 if (!authData) {
1357 this.synchronizedUserId = null;

Callers

nothing calls this directly

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected