@indigina/kendo 1.2.7 → 1.2.9

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.
@@ -858,11 +858,6 @@ let defaultConfig = {
858
858
  accountUrl: '',
859
859
  apiUrl: '',
860
860
  toastrTimeOut: 2500,
861
- oidc: {
862
- clientId: '',
863
- authority: '',
864
- issuer: '',
865
- },
866
861
  azureB2C: {
867
862
  clientId: '',
868
863
  authority: '',
@@ -1286,6 +1281,9 @@ class SettingsService {
1286
1281
  clearLoginAsUser() {
1287
1282
  localStorage.removeItem(loginAsKey);
1288
1283
  }
1284
+ clearToken() {
1285
+ localStorage.removeItem(tokenKey);
1286
+ }
1289
1287
  setToken(token) {
1290
1288
  localStorage.setItem(tokenKey, token);
1291
1289
  }
@@ -1418,6 +1416,7 @@ class AzureB2CProvider extends AuthProvider {
1418
1416
  }
1419
1417
  }
1420
1418
  logout() {
1419
+ this.settingsService.clearToken();
1421
1420
  this.authService.logoutRedirect({
1422
1421
  postLogoutRedirectUri: location.origin,
1423
1422
  });
@@ -1708,7 +1707,7 @@ class PermissionsService {
1708
1707
  this.signalRService
1709
1708
  .on(EventNames.PermissionsUpdated)
1710
1709
  .subscribe(() => {
1711
- this.getPermissionsFromServer();
1710
+ this.getPermissionsFromServer().subscribe();
1712
1711
  });
1713
1712
  });
1714
1713
  });