@trudb/tru-common-lib 0.0.715 → 0.0.716

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.
@@ -3735,6 +3735,13 @@ class TruAuth {
3735
3735
  this.doLogoutAndRedirectToLogin();
3736
3736
  }));
3737
3737
  }
3738
+ userClaims() {
3739
+ return this.http
3740
+ .post(`${this.baseUrl}${TRU_AUTH_CONFIG.authUrl}/userClaims`, null)
3741
+ .pipe(tap((userClaims) => {
3742
+ this.user.create(userClaims);
3743
+ }));
3744
+ }
3738
3745
  get isLoggedIn() {
3739
3746
  if (!this.loggedIn.value) {
3740
3747
  this.loggedIn.next(this.auth.isLoggedIn());