From a5914df807429f71606675d5c92bec3ac68517e8 Mon Sep 17 00:00:00 2001 From: verybadsoldier Date: Mon, 1 May 2023 22:34:45 +0200 Subject: [PATCH] fix missing field in interface --- frontend/composables/use-auth-context.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/composables/use-auth-context.ts b/frontend/composables/use-auth-context.ts index cd10ffc..058d4df 100644 --- a/frontend/composables/use-auth-context.ts +++ b/frontend/composables/use-auth-context.ts @@ -37,6 +37,11 @@ export interface IAuthContext { * Logs in the user and sets the authorization context via cookies */ login(api: PublicApi, email: string, password: string, stayLoggedIn: boolean): ReturnType; + + /** + * Logs in the user via trusted HTTP headers and sets the authorization context via cookies + */ + login_sso_header(api: PublicApi): ReturnType; } class AuthContext implements IAuthContext {