From 024d07fdd673f3df8639ca51bd40e89bb1d8d9c4 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Sun, 25 May 2025 14:53:48 +0200 Subject: [PATCH] feat: oauth context select session --- web/src/context/oauth/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/context/oauth/index.ts b/web/src/context/oauth/index.ts index c9eeab7..bea1a81 100644 --- a/web/src/context/oauth/index.ts +++ b/web/src/context/oauth/index.ts @@ -13,6 +13,7 @@ interface OAuthContextValues { setScope: (scopes: string[]) => void; setState: (state: string) => void; setNonce: (nonce: string) => void; + selectSession: (token: string) => Promise; } export const OAuthContext = createContext({ @@ -28,6 +29,7 @@ export const OAuthContext = createContext({ setScope: () => {}, setState: () => {}, setNonce: () => {}, + selectSession: async () => {}, }); export const useOAuthContext = () => useContext(OAuthContext);