@alfresco/adf-core 8.4.0-18715584832 → 8.4.0-18718684741

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.
@@ -57,7 +57,7 @@ import * as i7 from '@angular/material/menu';
57
57
  import { MatMenuModule, MatMenuItem, MatMenuTrigger } from '@angular/material/menu';
58
58
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
59
59
  import * as i1$9 from '@angular/router';
60
- import { RouterModule, Router, ActivatedRoute, provideRouter } from '@angular/router';
60
+ import { RouterModule, Router, provideRouter } from '@angular/router';
61
61
  import * as i2$5 from '@angular/material/checkbox';
62
62
  import { MatCheckboxModule } from '@angular/material/checkbox';
63
63
  import * as i1$a from 'angular-oauth2-oidc';
@@ -8764,14 +8764,6 @@ class RedirectAuthService extends AuthService {
8764
8764
  }))
8765
8765
  .then(() => this._getRedirectUrl());
8766
8766
  }
8767
- getStoredIssuer() {
8768
- const claims = this.oauthService.getIdentityClaims();
8769
- return claims?.['iss'] || '';
8770
- }
8771
- getStoredSessionId() {
8772
- const claims = this.oauthService.getIdentityClaims();
8773
- return claims?.['sid'] || '';
8774
- }
8775
8767
  _getRedirectUrl() {
8776
8768
  const DEFAULT_REDIRECT = '/';
8777
8769
  const stateKey = this.oauthService.state;
@@ -10613,58 +10605,6 @@ const OidcAuthGuard = async () => {
10613
10605
  }
10614
10606
  };
10615
10607
 
10616
- /*!
10617
- * @license
10618
- * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
10619
- *
10620
- * Licensed under the Apache License, Version 2.0 (the "License");
10621
- * you may not use this file except in compliance with the License.
10622
- * You may obtain a copy of the License at
10623
- *
10624
- * http://www.apache.org/licenses/LICENSE-2.0
10625
- *
10626
- * Unless required by applicable law or agreed to in writing, software
10627
- * distributed under the License is distributed on an "AS IS" BASIS,
10628
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10629
- * See the License for the specific language governing permissions and
10630
- * limitations under the License.
10631
- */
10632
- class FrontChannelLogoutComponent {
10633
- constructor() {
10634
- this.activatedRoute = inject(ActivatedRoute);
10635
- this.authService = inject(AuthService);
10636
- }
10637
- ngOnInit() {
10638
- const { issuerParam, sessionIdParam } = this.getIssuerAndSessionIdFromRouteParams();
10639
- const { storedIssuer, storedSessionId } = this.getIssuerAndSessionIdFromAuthService();
10640
- this.logoutIfIssuerAndSessionIdMatch(storedIssuer, issuerParam, storedSessionId, sessionIdParam);
10641
- }
10642
- logoutIfIssuerAndSessionIdMatch(storedIssuer, issuerParam, storedSessionId, sessionIdParam) {
10643
- const storedIssuerMatchUrlIssuerParam = storedIssuer && issuerParam && storedIssuer === issuerParam;
10644
- const storedSessionIdMatchUrlSessionIdParam = storedSessionId && sessionIdParam && storedSessionId === sessionIdParam;
10645
- if (storedIssuerMatchUrlIssuerParam && storedSessionIdMatchUrlSessionIdParam) {
10646
- this.authService.logout();
10647
- }
10648
- }
10649
- getIssuerAndSessionIdFromAuthService() {
10650
- const storedIssuer = this.authService.getStoredIssuer();
10651
- const storedSessionId = this.authService.getStoredSessionId();
10652
- return { storedIssuer, storedSessionId };
10653
- }
10654
- getIssuerAndSessionIdFromRouteParams() {
10655
- const queryParamMap = this.activatedRoute.snapshot.queryParamMap;
10656
- const issuerParam = queryParamMap.get('iss');
10657
- const sessionIdParam = queryParamMap.get('sid');
10658
- return { issuerParam, sessionIdParam };
10659
- }
10660
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: FrontChannelLogoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10661
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.6", type: FrontChannelLogoutComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: '', isInline: true }); }
10662
- }
10663
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: FrontChannelLogoutComponent, decorators: [{
10664
- type: Component,
10665
- args: [{ template: '', standalone: true }]
10666
- }] });
10667
-
10668
10608
  /*!
10669
10609
  * @license
10670
10610
  * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
@@ -10682,8 +10622,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
10682
10622
  * limitations under the License.
10683
10623
  */
10684
10624
  const AUTH_ROUTES = [
10685
- { path: 'view/authentication-confirmation', component: AuthenticationConfirmationComponent, canActivate: [OidcAuthGuard] },
10686
- { path: 'oidc/frontchannel_logout', component: FrontChannelLogoutComponent }
10625
+ { path: 'view/authentication-confirmation', component: AuthenticationConfirmationComponent, canActivate: [OidcAuthGuard] }
10687
10626
  ];
10688
10627
 
10689
10628
  /*!