From 80f2285943f482b9c5355ba15d70b9c70b34a339 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Wed, 6 Aug 2025 00:31:51 +0000 Subject: [PATCH] Add OAuth methods to AuthContext cgen-62a2e677931b4790b072179a2cb8db2a --- client/contexts/AuthContext.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/contexts/AuthContext.tsx b/client/contexts/AuthContext.tsx index da1c13e8..9c7d91e1 100644 --- a/client/contexts/AuthContext.tsx +++ b/client/contexts/AuthContext.tsx @@ -13,6 +13,7 @@ interface AuthContextType { loading: boolean; signIn: (email: string, password: string) => Promise; signUp: (email: string, password: string, userData?: Partial) => Promise; + signInWithOAuth: (provider: 'github' | 'google') => Promise; signOut: () => Promise; updateProfile: (updates: Partial) => Promise; }