MCPcopy Create free account

hub / github.com/adityasinghcodes/better-auth-nextjs / functions

Functions41 in github.com/adityasinghcodes/better-auth-nextjs

↓ 37 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 9 callersFunctiontoast
({ ...props }: Toast)
hooks/use-toast.ts:145
↓ 6 callersFunctionuseToast
()
hooks/use-toast.ts:174
↓ 5 callersFunctiondispatch
(action: Action)
hooks/use-toast.ts:136
↓ 5 callersFunctiongetPasswordSchema
(type: "password" | "confirmPassword")
lib/zod.ts:3
↓ 4 callersFunctionuseFormField
()
components/ui/form.tsx:44
↓ 3 callersFunctiongetEmailSchema
()
lib/zod.ts:8
↓ 3 callersFunctionsendEmail
({ to, subject, text, }: { to: string; subject: string; text: string; })
actions/email.ts:4
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
hooks/use-toast.ts:61
↓ 1 callersFunctiondismiss
()
hooks/use-toast.ts:153
↓ 1 callersFunctionfetchUsers
()
components/admin/users-table.tsx:22
↓ 1 callersFunctiongenId
()
hooks/use-toast.ts:30
↓ 1 callersFunctiongetNameSchema
()
lib/zod.ts:13
↓ 1 callersFunctionprismaClientSingleton
()
lib/prisma.ts:3
↓ 1 callersFunctionreducer
(state: State, action: Action)
hooks/use-toast.ts:77
FunctionAdminDashboard
()
app/admin/page.tsx:4
FunctionAuthButtons
()
components/auth-buttons.tsx:8
FunctionEmailVerifiedPage
()
app/(auth)/email-verified/page.tsx:4
FunctionForgotPassword
()
app/(auth)/forgot-password/page.tsx:22
FunctionFormField
({ ...props }: ControllerProps<TFieldValues, TName>)
components/ui/form.tsx:31
FunctionHome
()
app/page.tsx:4
FunctionImpersonateUser
({ userId }: ImpersonateUserProps)
components/admin/impersonate-user.tsx:11
FunctionLoadingButton
({ pending, children, onClick, }: { pending: boolean; children: React.ReactNode; onClick?: () => void; }
components/loading-button.tsx:2
FunctionNavbar
()
components/navbar.tsx:4
FunctionResetPassword
()
app/(auth)/reset-password/page.tsx:137
FunctionResetPasswordContent
()
app/(auth)/reset-password/page.tsx:24
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:23
FunctionSignIn
()
app/(auth)/sign-in/page.tsx:28
FunctionSignUp
()
app/(auth)/sign-up/page.tsx:25
FunctionSignoutButton
()
components/signout-button.tsx:8
FunctionToaster
()
components/ui/toaster.tsx:13
FunctionUsersTable
()
components/admin/users-table.tsx:16
FunctionauthMiddleware
(request: NextRequest)
middleware.ts:9
FunctionhandleCredentialsSignIn
( values: z.infer<typeof signInSchema> )
app/(auth)/sign-in/page.tsx:42
FunctionhandleImpersonateUser
()
components/admin/impersonate-user.tsx:15
FunctionhandleSignInWithGithub
()
app/(auth)/sign-in/page.tsx:71
FunctionhandleSignOut
()
components/signout-button.tsx:12
FunctiononSubmit
(data: z.infer<typeof resetPasswordSchema>)
app/(auth)/reset-password/page.tsx:39
FunctiononSubmit
(values: z.infer<typeof signUpSchema>)
app/(auth)/sign-up/page.tsx:39
FunctiononSubmit
(data: z.infer<typeof forgotPasswordSchema>)
app/(auth)/forgot-password/page.tsx:33
Functionupdate
(props: ToasterToast)
hooks/use-toast.ts:148