Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adityasinghcodes/better-auth-nextjs
/ functions
Functions
41 in github.com/adityasinghcodes/better-auth-nextjs
⨍
Functions
41
◇
Types & classes
3
↓ 37 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 9 callers
Function
toast
({ ...props }: Toast)
hooks/use-toast.ts:145
↓ 6 callers
Function
useToast
()
hooks/use-toast.ts:174
↓ 5 callers
Function
dispatch
(action: Action)
hooks/use-toast.ts:136
↓ 5 callers
Function
getPasswordSchema
(type: "password" | "confirmPassword")
lib/zod.ts:3
↓ 4 callers
Function
useFormField
()
components/ui/form.tsx:44
↓ 3 callers
Function
getEmailSchema
()
lib/zod.ts:8
↓ 3 callers
Function
sendEmail
({ to, subject, text, }: { to: string; subject: string; text: string; })
actions/email.ts:4
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
hooks/use-toast.ts:61
↓ 1 callers
Function
dismiss
()
hooks/use-toast.ts:153
↓ 1 callers
Function
fetchUsers
()
components/admin/users-table.tsx:22
↓ 1 callers
Function
genId
()
hooks/use-toast.ts:30
↓ 1 callers
Function
getNameSchema
()
lib/zod.ts:13
↓ 1 callers
Function
prismaClientSingleton
()
lib/prisma.ts:3
↓ 1 callers
Function
reducer
(state: State, action: Action)
hooks/use-toast.ts:77
Function
AdminDashboard
()
app/admin/page.tsx:4
Function
AuthButtons
()
components/auth-buttons.tsx:8
Function
EmailVerifiedPage
()
app/(auth)/email-verified/page.tsx:4
Function
ForgotPassword
()
app/(auth)/forgot-password/page.tsx:22
Function
FormField
({ ...props }: ControllerProps<TFieldValues, TName>)
components/ui/form.tsx:31
Function
Home
()
app/page.tsx:4
Function
ImpersonateUser
({ userId }: ImpersonateUserProps)
components/admin/impersonate-user.tsx:11
Function
LoadingButton
({ pending, children, onClick, }: { pending: boolean; children: React.ReactNode; onClick?: () => void; }
components/loading-button.tsx:2
Function
Navbar
()
components/navbar.tsx:4
Function
ResetPassword
()
app/(auth)/reset-password/page.tsx:137
Function
ResetPasswordContent
()
app/(auth)/reset-password/page.tsx:24
Function
RootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:23
Function
SignIn
()
app/(auth)/sign-in/page.tsx:28
Function
SignUp
()
app/(auth)/sign-up/page.tsx:25
Function
SignoutButton
()
components/signout-button.tsx:8
Function
Toaster
()
components/ui/toaster.tsx:13
Function
UsersTable
()
components/admin/users-table.tsx:16
Function
authMiddleware
(request: NextRequest)
middleware.ts:9
Function
handleCredentialsSignIn
( values: z.infer<typeof signInSchema> )
app/(auth)/sign-in/page.tsx:42
Function
handleImpersonateUser
()
components/admin/impersonate-user.tsx:15
Function
handleSignInWithGithub
()
app/(auth)/sign-in/page.tsx:71
Function
handleSignOut
()
components/signout-button.tsx:12
Function
onSubmit
(data: z.infer<typeof resetPasswordSchema>)
app/(auth)/reset-password/page.tsx:39
Function
onSubmit
(values: z.infer<typeof signUpSchema>)
app/(auth)/sign-up/page.tsx:39
Function
onSubmit
(data: z.infer<typeof forgotPasswordSchema>)
app/(auth)/forgot-password/page.tsx:33
Function
update
(props: ToasterToast)
hooks/use-toast.ts:148