Add OAuth methods to AuthContext

cgen-62a2e677931b4790b072179a2cb8db2a
This commit is contained in:
Builder.io 2025-08-06 00:31:51 +00:00
parent 3897450bc2
commit 80f2285943

View file

@ -13,6 +13,7 @@ interface AuthContextType {
loading: boolean;
signIn: (email: string, password: string) => Promise<void>;
signUp: (email: string, password: string, userData?: Partial<AethexUserProfile>) => Promise<void>;
signInWithOAuth: (provider: 'github' | 'google') => Promise<void>;
signOut: () => Promise<void>;
updateProfile: (updates: Partial<AethexUserProfile>) => Promise<void>;
}