diff --git a/alfa-client/libs/authentication/src/lib/authentication.service.ts b/alfa-client/libs/authentication/src/lib/authentication.service.ts index e6957194ffee282934c2923f6fcd7691dfcd03cb..7dcfc4741a56697c65e4ad83c7afb7a7c7b82265 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(); }