diff --git a/client/contexts/AuthContext.tsx b/client/contexts/AuthContext.tsx index 6b7a0316..2f40df36 100644 --- a/client/contexts/AuthContext.tsx +++ b/client/contexts/AuthContext.tsx @@ -33,13 +33,16 @@ interface AuthContextType { session: Session | null; loading: boolean; profileComplete: boolean; + linkedProviders: LinkedProvider[]; signIn: (email: string, password: string) => Promise; signUp: ( email: string, password: string, userData?: Partial, ) => Promise; - signInWithOAuth: (provider: "github" | "google") => Promise; + signInWithOAuth: (provider: SupportedOAuthProvider) => Promise; + linkProvider: (provider: SupportedOAuthProvider) => Promise; + unlinkProvider: (provider: SupportedOAuthProvider) => Promise; signOut: () => Promise; updateProfile: (updates: Partial) => Promise; refreshProfile: () => Promise;