Add OAuth methods to AuthContext
cgen-62a2e677931b4790b072179a2cb8db2a
This commit is contained in:
parent
3897450bc2
commit
80f2285943
1 changed files with 1 additions and 0 deletions
|
|
@ -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>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue