[ACS-9768] remove deprecated methods from auth related components (#4688)

* [ACS-9768] remove deprecated methods from auth related components [link-adf:ACS-9768-Remove-deprecated-methods-from-auth-related-components]

* [ACS-9786] replace deprecated methods
This commit is contained in:
Grzegorz Jaśkowski
2025-08-28 20:35:21 +02:00
committed by GitHub
parent 9634b60aaa
commit 887455a0ef
4 changed files with 4 additions and 8 deletions

View File

@@ -29,9 +29,5 @@ import { AuthenticationService } from '@alfresco/adf-core';
export const ViewProfileRuleGuard: CanActivateFn = () => {
const authService = inject(AuthenticationService);
const isEcmLoggedIn = (): boolean => {
return authService.isEcmLoggedIn() || (authService.isECMProvider() && authService.isKerberosEnabled());
};
return isEcmLoggedIn() || authService.isOauth();
return authService.isLoggedIn() || authService.isOauth();
};