(options)
| 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; |