oip-common 0.1.3 → 0.1.4

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.
package/index.d.ts CHANGED
@@ -372,6 +372,11 @@ declare class KeycloakSecurityService extends OidcSecurityService implements OnD
372
372
  * Stores user-specific data from the login response.
373
373
  */
374
374
  private readonly currentUser;
375
+ /**
376
+ * Emits access token updates from initial auth check, manual refresh,
377
+ * and library authentication events.
378
+ */
379
+ private accessToken;
375
380
  /**
376
381
  * Initializes service and subscribes to authentication events.
377
382
  * When a 'NewAuthenticationResult' event is received, the `auth` method is called.
@@ -383,7 +388,7 @@ declare class KeycloakSecurityService extends OidcSecurityService implements OnD
383
388
  * Returns the ID token for the sign-in.
384
389
  * @returns A string with the id token.
385
390
  */
386
- getAccessToken(): Observable<string>;
391
+ getAccessToken(configId?: string): Observable<string>;
387
392
  /**
388
393
  * Indicates whether the current user has the 'admin' role.
389
394
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oip-common",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "A template for cross-platform web applications based on sakai-ng and primeNG",
5
5
  "main": "index.js",
6
6
  "keywords": [