MCPcopy Create free account

hub / github.com/codersaadi/next-auth5-shadcn / functions

Functions96 in github.com/codersaadi/next-auth5-shadcn

↓ 46 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 5 callersFunctiondispatch
(action: Action)
src/hooks/use-toast.ts:136
↓ 5 callersFunctionuseFormSubmit
( props : FormSubmitProps<T> )
src/hooks/useFormSubmit.tsx:31
↓ 4 callersFunctiongetIconProps
(size? : number, className? : string)
src/modules/auth/icons.tsx:2
↓ 4 callersMethodgetUserByEmail
(email: string)
src/modules/auth/data/user.ts:4
↓ 4 callersFunctionreCaptchaSiteVerify
({ token, action, tokenExpiryMs = 120000, //ms }: CaptchaActionOptions)
src/modules/auth/lib/recaptcha.ts:13
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:44
↓ 3 callersFunctionsignIn
({ user, account })
src/modules/auth/auth.ts:23
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
src/hooks/use-toast.ts:61
↓ 2 callersFunctioncreateVerificationToken
(email: string)
src/modules/auth/data/verification-token.ts:33
↓ 2 callersMethodgetTemplate
(fileName: `${TemplateFileName}.html`, replacements: { [key: string]: string })
src/modules/auth/services/template-service.ts:10
↓ 2 callersMethodgetUserById
(id: string)
src/modules/auth/data/user.ts:15
↓ 2 callersFunctionhashMyPassword
(password: string)
src/modules/auth/lib/common.ts:10
↓ 2 callersFunctionisCaptchaInvalid
()
src/hooks/useFormSubmit.tsx:75
↓ 2 callersFunctiononSubmit
( action: (data: z.infer<T>, captchaOptions: CaptchaActionOptions) => Promise<MessageResponse> )
src/hooks/useFormSubmit.tsx:90
↓ 2 callersFunctionrefreshCaptcha
()
src/hooks/useFormSubmit.tsx:50
↓ 2 callersFunctionsendEmailVerification
(email: string, token: string)
src/modules/auth/lib/common.ts:4
↓ 1 callersMethodcreateResetPasswordToken
(email: string)
src/modules/auth/data/resetpassword-token.ts:31
↓ 1 callersFunctiondismiss
()
src/hooks/use-toast.ts:153
↓ 1 callersFunctionemailVerifyAction
( token?: string, )
src/modules/auth/lib/emailVerifyAction.ts:7
↓ 1 callersFunctiongenId
()
src/hooks/use-toast.ts:30
↓ 1 callersFunctiongenerateHTML
(params: { url: string; host: string; theme: EmailTheme })
src/modules/auth/sendRequest.ts:51
↓ 1 callersFunctiongenerateText
({ url, host }: { url: string; host: string })
src/modules/auth/sendRequest.ts:102
↓ 1 callersMethodgetResetPasswordToken
(email: string)
src/modules/auth/data/resetpassword-token.ts:5
↓ 1 callersMethodgetResetPasswordTokenByToken
(token: string)
src/modules/auth/data/resetpassword-token.ts:18
↓ 1 callersMethodgetTransport
()
src/modules/auth/services/mail.sender.ts:17
↓ 1 callersFunctiongetVerificationToken
(email: string)
src/modules/auth/data/verification-token.ts:5
↓ 1 callersFunctiongetVerificationTokenByToken
(token: string)
src/modules/auth/data/verification-token.ts:19
↓ 1 callersFunctionhandleSignIn
(provider: availableProviders)
src/modules/auth/components/AuthProvidersCTA.tsx:18
↓ 1 callersFunctionhandleSignInRedirectError
( error: RedirectError<string>, data: MagicSignInType )
src/modules/auth/lib/signin_magic-action.ts:42
↓ 1 callersFunctionreducer
(state: State, action: Action)
src/hooks/use-toast.ts:77
↓ 1 callersFunctionresetPasswordAction
(token: string, data : ResetPasswordSchemaType)
src/modules/auth/lib/forgot-password.ts:71
↓ 1 callersFunctionsendResetPasswordEmail
(email: string, token : string)
src/modules/auth/lib/common.ts:15
↓ 1 callersMethodsendResetPasswordEmail
(email: string, verificationLink: string)
src/modules/auth/services/mail.sender.ts:21
↓ 1 callersMethodsendVerificationEmail
(email: string, verificationLink: string)
src/modules/auth/services/mail.sender.ts:36
↓ 1 callersFunctiontoast
({ ...props }: Toast)
src/hooks/use-toast.ts:145
↓ 1 callersFunctionuseAuthProviders
()
src/modules/auth/useAuthProviders.tsx:5
↓ 1 callersFunctionuseToast
()
src/hooks/use-toast.ts:174
↓ 1 callersMethodverifyUserEmail
(id : string)
src/modules/auth/data/user.ts:25
FunctionAppLayout
({ children, auth }: { children: React.ReactNode; auth: React.ReactNode; })
src/app/home/layout.tsx:3
FunctionAuthErrorPage
({searchParams} :{ searchParams : any })
src/app/auth-error/page.tsx:50
FunctionAuthLayout
({ children }: { children: React.ReactNode })
src/app/auth/layout.tsx:6
FunctionAuthModalLayout
({children} :{ children: React.ReactNode, })
src/app/home/@auth/(..)auth/layout.tsx:6
FunctionAuthProvidersCTA
({ withDescription = false, }: { withDescription?: boolean; })
src/modules/auth/components/AuthProvidersCTA.tsx:11
FunctionCaptchaClientProvider
({ children }: { children: React.ReactNode })
src/modules/auth/components/CaptchaProvider.tsx:6
FunctionDefault
()
src/app/home/@auth/default.tsx:2
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:70
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:56
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/components/ui/dropdown-menu.tsx:176
FunctionEmailVerifyForm
({ token }: { token?: string })
src/modules/auth/components/EmailVerifyForm.tsx:8
FunctionFBIcon
({size} : {size : number})
src/modules/auth/icons.tsx:48
FunctionForgotPasswordForm
()
src/modules/auth/components/ForgotPassword.tsx:13
FunctionFormFeedback
({ message, type }: FormFeedbackProps)
src/modules/auth/components/FormFeedback.tsx:6
FunctionFormField
({ ...props }: ControllerProps<TFieldValues, TName>)
src/components/ui/form.tsx:31
FunctionGithubIcon
({ size } :{ size? : number })
src/modules/auth/icons.tsx:21
FunctionGoogleIcon
({ size } : { size? : number })
src/modules/auth/icons.tsx:10
FunctionHome
()
src/app/home/page.tsx:5
FunctionLoadingSpinner
({className} :{ className?: string })
src/components/Spinner.tsx:4
FunctionMagicLinkSigninForm
()
src/modules/auth/components/MagicLinkSignin.tsx:16
FunctionModal
({ children } :{ children: React.ReactNode })
src/components/Modal.tsx:5
FunctionNewPasswordForm
({ token }: { token?: string })
src/modules/auth/components/NewPasswordForm.tsx:13
FunctionNextThemeProvider
({ children }: { children: React.ReactNode })
src/providers/ThemeProvider.tsx:4
FunctionProvider
({ children }: { children: React.ReactNode })
src/providers/index.tsx:6
FunctionRootLayout
({ children, }: { children: React.ReactNode; })
src/app/layout.tsx:13
FunctionSignInComponent
({ searchParams }: { searchParams: Record<string, number | string | null> })
src/modules/auth/components/SignInForm.tsx:122
FunctionSignInForm
()
src/modules/auth/components/SignInForm.tsx:18
FunctionSignOutButton
()
src/modules/auth/components/SignOutButton.tsx:7
FunctionSignOutPage
()
src/app/(protected-routes)/signout/page.tsx:3
FunctionSignUpForm
({ searchParams })
src/modules/auth/components/SignupForm.tsx:19
FunctionThemeSwitch
()
src/components/ThemeSwitch.tsx:6
FunctionToaster
()
src/components/ui/toaster.tsx:13
FunctionToaster
({ ...props }: ToasterProps)
src/components/ui/sonner.tsx:8
FunctionTwitterIcon
({ size } :{ size? : number })
src/modules/auth/icons.tsx:33
FunctionVerifyRequest
({searchParams} :{ searchParams : Record<string , string | null |number> })
src/app/auth/verify-request/page.tsx:5
Functionauthorize
(credentials)
src/modules/auth/auth.config.ts:17
FunctionbaseFetch
( url: string, options?: FetchOptions<TBody> )
src/lib/fetch.ts:14
Methodconstructor
()
src/modules/auth/services/mail.sender.ts:7
FunctioncreateFormError
(validate, failMessage)
src/lib/validate-utils.ts:6
FunctioncurrentRole
()
src/modules/auth/lib/common.ts:25
FunctioncurrentUser
()
src/modules/auth/lib/common.ts:21
FunctionforgotPasswordAction
( data: ForgotPasswordSchemaType, captchaOptions : CaptchaActionOptions)
src/modules/auth/lib/forgot-password.ts:13
FunctionhandleOpenChange
()
src/components/Modal.tsx:11
Functionjwt
(jwt)
src/modules/auth/auth.ts:42
FunctiononSignInTypeChange
()
src/modules/auth/components/SignInForm.tsx:127
Functionpage
({searchParams} : EmailVerifyProps)
src/app/auth/email_verify/page.tsx:10
Functionpage
({searchParams} : ResetPasswordProps)
src/app/auth/new-password/page.tsx:9
Functionpage
()
src/app/(protected-routes)/dashboard/page.tsx:6
FunctionsendVerificationRequest
(params: { identifier: string; url: string; expires: Date; provider: NodemailerConfig; token: string
src/modules/auth/sendRequest.ts:13
Functionsession
({ session, user, token })
src/modules/auth/auth.ts:56
FunctionsetResponseMessage
(res: MessageResponse)
src/hooks/useFormSubmit.tsx:93
FunctionsignInAction
( data: LoginSchemaType, captchaOptions : CaptchaActionOptions )
src/modules/auth/lib/signin-action.ts:8
FunctionsignUpAction
( data: SignupSchemaType,captchaOptions : CaptchaActionOptions )
src/modules/auth/lib/signup-action.ts:10
FunctionsigninMagic
( data: MagicSignInType, captchaOptions : CaptchaActionOptions )
src/modules/auth/lib/signin_magic-action.ts:12
Functionupdate
(props: ToasterToast)
src/hooks/use-toast.ts:148
FunctionuseDebounce
(value: T, delay?: number)
src/hooks/useDebounce.tsx:4
FunctionuseQueryString
(searchParams: URLSearchParams)
src/hooks/useUpdateQueryParams.tsx:6