MCPcopy Create free account

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

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

↓ 1 callersFunctionverifyTotp
(challengeHeaders: Headers, code: string)
packages/better-auth/src/plugins/two-factor/two-factor.account-lockout.test.ts:127
↓ 1 callersFunctionverifyTotp
(challengeHeaders: Headers, code: string)
packages/better-auth/src/plugins/two-factor/two-factor.attempt-cap.test.ts:74
↓ 1 callersFunctionwait
(ms: number)
packages/core/src/utils/async.test.ts:4
↓ 1 callersFunctionwaitForAuthQueryAtom
( atom: AuthQueryAtom<Result>, predicate: (value: AuthQueryValue<Result>) => boolean, )
packages/better-auth/src/plugins/organization/routes/crud-members.test.ts:836
↓ 1 callersFunctionwaitForCleanupLock
( ctx: GenericEndpointContext, identifier: string, )
packages/better-auth/src/db/revoke-unproven-account-access.ts:12
↓ 1 callersFunctionwaitForDispatches
(min = 1, timeoutMs = 2_000)
packages/oauth-provider/src/backchannel-logout.test.ts:341
↓ 1 callersFunctionwaitForFinishedSpanCount
( count: number, )
packages/core/src/instrumentation/instrumentation.test.ts:48
↓ 1 callersFunctionwaitForHydration
(page: Page)
e2e/integration/waku/e2e/waku.spec.ts:14
↓ 1 callersFunctionwaitForPopupResult
* Resolves with the token (or relayed error) once the completion page posts * back, gating on origin, type, and nonce.
packages/better-auth/src/plugins/oauth-popup/client.ts:160
↓ 1 callersFunctionwaitForQueryData
( query: QueryAtomLike<T>, matches: (data: T) => boolean, triggerFetch = false, )
packages/better-auth/src/plugins/organization/organization.test.ts:2940
↓ 1 callersFunctionwaitForRefListLock
* On Workers each waiter owns its timer and can advance the queue if the * current writer stalls. A queued request can end before it even starts, *
packages/api-key/src/adapter.ts:281
↓ 1 callersFunctionwaitForRowLock
(pid: number)
e2e/adapter/test/kysely-adapter/adapter.kysely.guarded-write.pg.test.ts:43
↓ 1 callersFunctionwaitForSessionData
( matches: (session: SessionData) => boolean, triggerRead = false, )
packages/better-auth/src/plugins/admin/admin.test.ts:936
↓ 1 callersFunctionwaitForSpan
( predicate: (s: ReadableSpan) => boolean, )
packages/core/src/instrumentation/instrumentation.test.ts:39
↓ 1 callersFunctionwaitForSpan
( predicate: (s: ReadableSpan) => boolean, )
packages/better-auth/src/instrumentation.db.test.ts:53
↓ 1 callersFunctionwaitForSpan
( predicate: (s: ReadableSpan) => boolean, )
packages/better-auth/src/instrumentation.endpoint.test.ts:71
↓ 1 callersFunctionwakuCookies
()
e2e/integration/waku/src/auth.ts:42
↓ 1 callersFunctionwarmupConnection
()
e2e/adapter/test/kysely-adapter/adapter.kysely.mssql.test.ts:121
↓ 1 callersFunctionwarnIfSeatPricing
(plans: StripePlan[])
packages/stripe/src/index.ts:64
↓ 1 callersFunctionwarnLogger
(warnings: string[])
packages/better-auth/src/db/get-migration.test.ts:531
↓ 1 callersFunctionwhereClauseCount
Count top-level elements in the array literal that begins at `src[open]` * (which must be `[`), splitting on commas at the array's own nesting depth.
test/unit/no-multi-clause-adapter-update.test.ts:95
↓ 1 callersFunctionwhileGuardChanges
( operation: ( adapter: ReturnType<typeof createAdapter>, ) => Promise<GuardedRow | null>, )
e2e/adapter/test/kysely-adapter/adapter.kysely.guarded-write.pg.test.ts:56
↓ 1 callersFunctionwhileGuardChanges
( operation: ( adapter: ReturnType<typeof createAdapter>, ) => Promise<CounterRow | null>, )
e2e/adapter/test/drizzle-adapter/adapter.drizzle.pg.increment-one-contention.test.ts:101
↓ 1 callersFunctionwhileGuardChanges
( operation: ( adapter: ReturnType<typeof createAdapter>, ) => Promise<CounterRow | null>, )
e2e/adapter/test/drizzle-v2-relations-adapter/adapter.drizzle.pg.increment-one-contention.test.ts:102
↓ 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 callersFunctionwithSAMLResponse
( signIn: Awaited<ReturnType<typeof initiateSAMLSignIn>>, samlResponse: string, )
packages/sso/src/saml.test.ts:6979
↓ 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:315
↓ 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 callersFunctionwrapLikeDrizzle
(cause: Error)
packages/core/src/db/errors.test.ts:77
↓ 1 callersFunctionwrapLikeDrizzle
()
packages/better-auth/src/plugins/device-authorization/device-authorization.test.ts:2269
↓ 1 callersFunctionwrappedError
(params: string, cause: Error)
packages/oauth-provider/src/oauthResource/endpoints.test.ts:459
↓ 1 callersFunctionwriteBack
(value: string)
packages/better-auth/src/plugins/email-otp/routes.ts:1328
↓ 1 callersFunctionwriteBack
(value: string)
packages/better-auth/src/plugins/phone-number/routes.ts:972
↓ 1 callersFunctionwriteCache
(update: Partial<Verification>)
packages/better-auth/src/db/internal-adapter.ts:1779
↓ 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
← previousnext →4,601–4,700 of 6,819, ranked by callers