src/vs/platform/userDataSync/common/userDataSyncAccount.ts/UserDataSyncAccountService/constructor
class UserDataSyncAccountService:	constructor(
		@IUserDataSyncStoreService private readonly userDataSyncStoreService: IUserDataSyncStoreService,
		@IUserDataSyncLogService private readonly logService: IUserDataSyncLogService,
	) {
		super();
		this._register(userDataSyncStoreService.onTokenFailed(() => {
			this.logService.info('Settings Sync auth token failed', this.account?.authenticationProviderId, this.wasTokenFailed);
			this.updateAccount(undefined);
			this._onTokenFailed.fire(this.wasTokenFailed);
			this.wasTokenFailed = true;
		}));
		this._register(userDataSyncStoreService.onTokenSucceed(() => this.wasTokenFailed = false));
	}