From 78b06a2e49bcbf250c030473baec556f36d54bf4 Mon Sep 17 00:00:00 2001 From: Martin <git@mail.de> Date: Fri, 17 Jan 2025 17:46:39 +0100 Subject: [PATCH] OZG-6986 OZG-7509 cleanup --- .../libs/authentication/src/lib/authentication.service.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/alfa-client/libs/authentication/src/lib/authentication.service.ts b/alfa-client/libs/authentication/src/lib/authentication.service.ts index e6957194ff..7dcfc4741a 100644 --- a/alfa-client/libs/authentication/src/lib/authentication.service.ts +++ b/alfa-client/libs/authentication/src/lib/authentication.service.ts @@ -22,7 +22,6 @@ * unter der Lizenz sind dem Lizenztext zu entnehmen. */ import { Environment, ENVIRONMENT_CONFIG } from '@alfa-client/environment-shared'; -import { isNotNull } from '@alfa-client/tech-shared'; import { Inject, Injectable } from '@angular/core'; import { AuthConfig, OAuthEvent, OAuthService } from 'angular-oauth2-oidc'; import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks'; @@ -113,10 +112,6 @@ export class AuthenticationService { return getUserNameInitials(this.currentUserResource); } - public isLoggedIn(): boolean { - return isNotNull(this.oAuthService.getIdentityClaims()); - } - public logout(): void { this.oAuthService.revokeTokenAndLogout(); } -- GitLab