From 18f4043971130f8e2c0effe0eaa23a48cee79e21 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Fri, 10 Nov 2023 12:54:49 +0100 Subject: [PATCH] remove temp method --- src/Umbraco.Web.UI.Client/src/shared/auth/auth.context.ts | 5 ----- src/Umbraco.Web.UI.Client/src/shared/auth/auth.interface.ts | 2 -- 2 files changed, 7 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/shared/auth/auth.context.ts b/src/Umbraco.Web.UI.Client/src/shared/auth/auth.context.ts index a6401a06b2..87e9e82647 100644 --- a/src/Umbraco.Web.UI.Client/src/shared/auth/auth.context.ts +++ b/src/Umbraco.Web.UI.Client/src/shared/auth/auth.context.ts @@ -26,11 +26,6 @@ export class UmbAuthContext extends UmbBaseController implements IUmbAuth { return this.#authFlow.makeAuthorizationRequest(); } - /* TEMPORARY METHOD UNTIL RESPONSIBILITY IS MOVED TO CONTEXT */ - setLoggedIn(newValue: boolean): void { - return this.#isAuthorized.next(newValue); - } - getIsAuthorized() { if (this.isBypassed) { this.#isAuthorized.next(true); diff --git a/src/Umbraco.Web.UI.Client/src/shared/auth/auth.interface.ts b/src/Umbraco.Web.UI.Client/src/shared/auth/auth.interface.ts index 71008a4e12..23eb376577 100644 --- a/src/Umbraco.Web.UI.Client/src/shared/auth/auth.interface.ts +++ b/src/Umbraco.Web.UI.Client/src/shared/auth/auth.interface.ts @@ -3,8 +3,6 @@ import { Observable } from '@umbraco-cms/backoffice/external/rxjs'; export interface IUmbAuth { isAuthorized: Observable; - setLoggedIn(loggedIn: boolean): void; - /** * Initiates the login flow. */