MCPcopy Create free account

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

Functions6,653 in github.com/better-auth/better-auth

↓ 1 callersFunctionwithAccountFields
* The generated data model with extra fields on the account model.
packages/prisma-adapter/src/schema-check.test.ts:44
↓ 1 callersFunctionwithApplyDefault
( value: any, field: DBFieldAttribute, action: "create" | "update" | "findOne" | "findMany", )
packages/core/src/db/adapter/utils.ts:3
↓ 1 callersFunctionwithCode
(message: string, code: string)
packages/oauth-provider/src/private-key-jwt-stale-if-error.test.ts:24
↓ 1 callersFunctionwithCode
(message: string, code: string)
packages/cimd/src/stale-if-error.test.ts:61
↓ 1 callersFunctionwithCors
(handler: Function)
demo/nextjs/app/api/auth/[...all]/route.ts:26
↓ 1 callersFunctionwithCors
( handler: (request: Request) => Promise<Response>, )
demo/nextjs/app/api/mcp/route.ts:109
↓ 1 callersFunctionwithDescription
( schema: OpenAPISchema, zodType: z.ZodType<unknown>, )
packages/better-auth/src/plugins/open-api/generator.ts:176
↓ 1 callersFunctionwithExposedHeaders
( exposed: string | null | undefined, ...headers: string[] )
packages/oauth-provider/src/dpop.ts:36
↓ 1 callersFunctionwithMarkdownPageUrl
(node: Item)
docs/lib/llm-text.ts:198
↓ 1 callersFunctionwithMarkdownPageUrls
(node: Node)
docs/lib/llm-text.ts:202
↓ 1 callersFunctionwithMonorepoPaths
* Add the monorepo paths to the Metro config. * This allows Metro to resolve modules from the monorepo. * * @see https://docs.expo.dev/guides/monor
demo/expo/metro.config.js:20
↓ 1 callersFunctionwithProvider
(provider: OAuthProvider)
packages/better-auth/src/plugins/oauth-proxy/oauth-proxy.test.ts:2519
↓ 1 callersFunctionwithQueryParams
* Adds `params` to the endpoint's query and removes the pairs they replace. * The rest of the query keeps its original text, including empty segments
packages/core/src/oauth2/create-authorization-url.ts:32
↓ 1 callersFunctionwithRefListLock
( refKey: string, task: () => Promise<T>, )
packages/api-key/src/adapter.ts:256
↓ 1 callersFunctionwithSAMLResponse
( signIn: Awaited<ReturnType<typeof initiateSAMLSignIn>>, samlResponse: string, )
packages/sso/src/saml.test.ts:6921
↓ 1 callersFunctionwithServerOnly
* Set `metadata.SERVER_ONLY` while preserving any existing metadata * (`$Infer`, `openapi`, ...).
packages/core/src/api/index.ts:177
↓ 1 callersFunctionwithTimeout
( promise: Promise<T>, timeoutMs: number, )
packages/better-auth/src/plugins/captcha/utils.ts:20
↓ 1 callersFunctionwithVerificationConsumeLock
( key: string, fn: () => Promise<T>, )
packages/better-auth/src/db/internal-adapter.ts:270
↓ 1 callersFunctionwithWindows
(run: () => Promise<void>)
packages/electron/test/electron.test.ts:1154
↓ 1 callersFunctionwithoutNativeTransactions
( adapterFactory: ReturnType<typeof memoryAdapter>, )
packages/scim/src/scim-connections.test.ts:18
↓ 1 callersFunctionwithoutNullAttributes
A null key in a value merged into a selected entry removes that sub-attribute.
packages/scim/src/user-patch.ts:700
↓ 1 callersFunctionwithoutOIDCSecret
( configuration: OIDCConfig | undefined, )
packages/sso/src/provider-reference.ts:49
↓ 1 callersFunctionwithoutSAMLPrivateKeys
( configuration: SAMLConfig | undefined, )
packages/sso/src/provider-reference.ts:58
↓ 1 callersFunctionwithoutSourceExtension
Strips a source extension so paths can be compared across TS and JS inputs.
packages/cli/src/utils/get-config.ts:333
↓ 1 callersFunctionwrapEndpointHandler
( handler: AuthEndpointHandler<Path, Options, R>, options: Options, )
packages/core/src/api/index.ts:98
↓ 1 callersFunctionwriteCursorConfig
(content: string)
packages/cli/test/ai.test.ts:59
↓ 1 callersFunctionwriteFetchResponse
( res: ServerResponse, response: Response, )
e2e/integration/vanilla-node/e2e/app.ts:32
↓ 1 callersFunctionwriteInstalledPackage
(name: string, version: string)
packages/cli/test/info.test.ts:24
↓ 1 callersFunctionwriteItem
( key: string, value: string, currentBaseValue: string | null, )
packages/expo/src/client-storage.ts:396
↓ 1 callersFunctionwriteMcpConfig
(configPath: string, entry: McpEntry)
packages/cli/src/commands/ai.ts:754
↓ 1 callersFunctionwriteMcpConfigInteractive
( tool: string, scope: "project" | "global", args: string[], )
packages/cli/src/commands/ai.ts:333
↓ 1 callersFunctionwriteOpenCodeConfig
( configPath: string, entry: { type: string; command: string; args: string[]; enabled: boolean }, )
packages/cli/src/commands/ai.ts:316
↓ 1 callersFunctionwriteTree
( root: string, files: Record<string, string>, )
packages/cli/test/get-config.test.ts:1583
↓ 1 callersFunctionyandex
(options: YandexOptions)
packages/better-auth/src/plugins/generic-oauth/providers/yandex.ts:51
↓ 1 callersFunctionzoom
(userOptions: ZoomOptions)
packages/core/src/social-providers/zoom.ts:146
Function$returningId
()
e2e/adapter/test/drizzle-v2-relations-adapter/adapter.drizzle.mysql-serial-insert-id.test.ts:53
FunctionAIChat
({ children }: { children: ReactNode })
docs/components/ai-chat.tsx:62
FunctionAIChatPanel
()
docs/components/ai-chat.tsx:145
FunctionAIChatTrigger
({ className, ...props }: ComponentProps<"button">)
docs/components/ai-chat.tsx:106
FunctionAIMessage
({ message, messages, messageIndex, isStreaming, ...props }: { message: UIMessage; messages?: UIMessage
docs/components/command-menu.tsx:665
FunctionAIMode
({ chat, onClose, onTabToggle, }: { chat: ReturnType<typeof useChat>; onClose: () => void; onTabToggle:
docs/components/command-menu.tsx:401
FunctionAITextInput
({ value, onChange, onSubmit, disabled, placeholder, }: { value: string; onChange: (v: string) => void;
docs/components/command-menu.tsx:622
FunctionAPIMethod
({ children, ...options }: ApiMethodOptions & { children: ReactNode })
docs/components/api-method.tsx:41
FunctionAPIMethod
({ children, path, method = "GET", }: { children?: ReactNode; path?: string; method?: string; [key: str
docs/components/docs/mdx-components.tsx:64
FunctionAUTH_SECRET
()
packages/core/src/env/env-impl.ts:103
FunctionAccentSwatch
({ className, label, }: { className: string; label: string; })
docs/app/brand/brand-client.tsx:356
FunctionAccordion
({ ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>)
docs/components/ui/accordion.tsx:9
FunctionAccordionContent
({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Content>)
docs/components/ui/accordion.tsx:50
FunctionAccordionContent
({ ref, className, children, ...props }: React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>
demo/nextjs/components/ui/accordion.tsx:50
FunctionAccordionItem
({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Item>)
docs/components/ui/accordion.tsx:15
FunctionAccordionItem
({ ref, className, ...props }: React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item> & { ref: Rea
demo/nextjs/components/ui/accordion.tsx:11
FunctionAccordionTrigger
({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Trigger>)
docs/components/ui/accordion.tsx:28
FunctionAccordionTrigger
({ ref, className, children, ...props }: React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>
demo/nextjs/components/ui/accordion.tsx:26
FunctionAccountConfirmation
({ account, authorizationFields, }: AccountConfirmationProps)
demo/nextjs/app/scim-demo/idp/authorize/account-confirmation.tsx:27
FunctionAccountSwitcher
({ deviceSessions, initialSession, }: { deviceSessions: DeviceSession[]; initialSession: SessionData; })
demo/nextjs/components/account-switch.tsx:27
FunctionAddPasskey
()
demo/nextjs/app/dashboard/_components/user-card.tsx:392
FunctionAddToCursor
()
docs/components/docs/mdx-components.tsx:587
FunctionAdminDashboard
()
demo/nextjs/app/admin/page.tsx:78
FunctionAiNativeSection
()
docs/components/landing/framework-sections.tsx:1247
FunctionAlert
({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>)
docs/components/ui/alert.tsx:23
FunctionAlert
({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>)
demo/nextjs/components/ui/alert.tsx:23
FunctionAlertDescription
({ className, ...props }: React.ComponentProps<"div">)
docs/components/ui/alert.tsx:51
FunctionAlertDescription
({ className, ...props }: React.ComponentProps<"div">)
demo/nextjs/components/ui/alert.tsx:51
FunctionAlertDialogAction
({ ref, className, ...props }: React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action> & { ref?
demo/nextjs/components/ui/alert-dialog.tsx:114
FunctionAlertDialogCancel
({ ref, className, ...props }: React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel> & { ref?
demo/nextjs/components/ui/alert-dialog.tsx:129
FunctionAlertDialogContent
({ ref, className, ...props }: React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> & { ref
demo/nextjs/components/ui/alert-dialog.tsx:32
FunctionAlertDialogDescription
({ ref, className, ...props }: React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description> & {
demo/nextjs/components/ui/alert-dialog.tsx:96
FunctionAlertDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
demo/nextjs/components/ui/alert-dialog.tsx:67
FunctionAlertDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
demo/nextjs/components/ui/alert-dialog.tsx:53
FunctionAlertDialogOverlay
({ ref, className, ...props }: React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay> & { ref
demo/nextjs/components/ui/alert-dialog.tsx:14
FunctionAlertDialogTitle
({ ref, className, ...props }: React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title> & { ref?:
demo/nextjs/components/ui/alert-dialog.tsx:81
FunctionAlertTitle
({ className, ...props }: React.ComponentProps<"div">)
docs/components/ui/alert.tsx:38
FunctionAlertTitle
({ className, ...props }: React.ComponentProps<"div">)
demo/nextjs/components/ui/alert.tsx:38
FunctionAlertsBlock
()
docs/app/brand/brand-client.tsx:720
FunctionAnimatedCounter
({ value, duration = 2000, }: { value: number; duration?: number; })
docs/app/community/community-client.tsx:138
FunctionAnotherAccountBtn
()
demo/nextjs/app/(auth)/oauth/select-account/account-button.tsx:60
FunctionApiMethodTabs
({ className, ...props }: React.ComponentProps<"div"> & { defaultValue: string | null })
docs/components/api-method-tabs.tsx:15
FunctionApiMethodTabsContent
({ className, ...props }: React.ComponentProps<"div"> & { value: string })
docs/components/api-method-tabs.tsx:74
FunctionApiMethodTabsList
({ className, ...props }: React.ComponentProps<"div">)
docs/components/api-method-tabs.tsx:37
FunctionApiMethodTabsTrigger
({ className, ...props }: React.ComponentProps<"button"> & { value: string })
docs/components/api-method-tabs.tsx:53
FunctionApp
()
demo/electron/src/renderer/src/App.tsx:6
FunctionApp
()
demo/oidc-client/src/App.tsx:10
FunctionApp
()
e2e/integration/solid-vinxi/src/app.tsx:9
FunctionAsyncLocalStorage
()
packages/core/src/async_hooks/index.test.ts:14
FunctionAuthProvider
({ children, issuer, clientId, })
demo/oidc-client/src/lib/auth/AuthProvider.tsx:15
FunctionAuthorizePage
({ searchParams, }: AuthorizePageProps)
demo/nextjs/app/(auth)/oauth/consent/page.tsx:32
FunctionAvatar
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>)
demo/electron/src/renderer/src/components/ui/avatar.tsx:6
FunctionAvatar
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>)
demo/nextjs/components/ui/avatar.tsx:8
FunctionAvatarFallback
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>)
demo/electron/src/renderer/src/components/ui/avatar.tsx:35
FunctionAvatarFallback
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>)
demo/nextjs/components/ui/avatar.tsx:37
FunctionAvatarImage
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>)
demo/electron/src/renderer/src/components/ui/avatar.tsx:22
FunctionAvatarImage
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>)
demo/nextjs/components/ui/avatar.tsx:24
FunctionBETTER_AUTH_SECRET
()
packages/core/src/env/env-impl.ts:100
FunctionBETTER_AUTH_TELEMETRY
()
packages/core/src/env/env-impl.ts:106
FunctionBETTER_AUTH_TELEMETRY_ENDPOINT
()
packages/core/src/env/env-impl.ts:118
FunctionBETTER_AUTH_TELEMETRY_ID
()
packages/core/src/env/env-impl.ts:109
FunctionBackgroundRippleEffect
({ rows = 8, cols = 27, cellSize = 56, }: { rows?: number; cols?: number; cellSize?: number; })
demo/electron/src/renderer/src/components/background-ripple-effect.tsx:6
FunctionBackgroundRippleEffect
({ rows = 8, cols = 27, cellSize = 56, }: { rows?: number; cols?: number; cellSize?: number; })
demo/nextjs/components/background-ripple-effect.tsx:6
FunctionBadge
({ className, variant, asChild = false, ...props }: React.ComponentProps<"span"> & VariantProps<typeof ba
docs/components/ui/badge.tsx:29
FunctionBadge
({ className, variant, ...props }: BadgeProps)
demo/nextjs/components/ui/badge.tsx:31
← previousnext →4,501–4,600 of 6,653, ranked by callers