MCPcopy Create free account
hub / github.com/WardAnalytics/WardGraph / AuthContextProps

Interface AuthContextProps

src/components/auth/AuthDialog.tsx:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25interface AuthContextProps {
26 onLoginSuccess: (userID: string) => void;
27 onLoginError: (error: any) => void;
28 onGoogleLoginSucess: (userID: string) => void;
29 onGoogleLoginError: (error: any) => void;
30 onSignupSuccess: () => void;
31 onSignupError: (error: any) => void;
32 onGoogleSignupSucess: () => void;
33 onGoogleSignupError: (error: any) => void;
34 onResetPasswordSuccess: () => void;
35 onResetPasswordError: (error: any) => void;
36 setAuthDialogState: (state: AuthDialogState) => void;
37}
38
39export const AuthContext = createContext<AuthContextProps>({
40 onLoginSuccess: () => { },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected