@bragduck/cli 2.8.0 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -484,17 +484,10 @@ var init_storage_service = __esm({
484
484
  }
485
485
  }
486
486
  /**
487
- * Check if user is authenticated
487
+ * Check if user is authenticated (checks bragduck service)
488
488
  */
489
489
  async isAuthenticated() {
490
- const credentials = await this.getCredentials();
491
- if (!credentials || !credentials.accessToken) {
492
- return false;
493
- }
494
- if (credentials.expiresAt && credentials.expiresAt < Date.now()) {
495
- return false;
496
- }
497
- return true;
490
+ return this.isServiceAuthenticated("bragduck");
498
491
  }
499
492
  /**
500
493
  * Get credentials for a specific service