MCPcopy Create free account

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

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

↓ 1 callersFunctiontestPlugin
()
packages/cli/test/generate.test.ts:1540
↓ 1 callersFunctiontestPlugin
()
test/unit/types/db.test.ts:14
↓ 1 callersFunctiontestUtils
(overrideOpts?: BetterAuthOptions)
packages/electron/test/utils.ts:116
↓ 1 callersFunctiontitleFontSize
(title: string)
docs/app/api/og-blog/route.tsx:40
↓ 1 callersFunctiontitleFontSize
(title: string)
docs/app/api/og/route.tsx:42
↓ 1 callersFunctiontoAudienceValues
(audienceClaim: unknown)
packages/oauth-provider/src/resource-binding.test.ts:17
↓ 1 callersFunctiontoBoolean
(val: boolean | string | undefined)
packages/core/src/env/env-impl.ts:47
↓ 1 callersFunctiontoCamelCase
(input: string)
packages/core/src/utils/string.ts:25
↓ 1 callersFunctiontoChallengeResponse
( error: unknown, resource: string, opts?: Parameters<typeof createResourceServerChallenge>[2], )
packages/mcp/src/handler.ts:102
↓ 1 callersFunctiontoChecksumAddress
(address: string)
packages/better-auth/src/utils/hashing.ts:9
↓ 1 callersFunctiontoDatabaseIndexMap
(indexes: readonly DatabaseIndexMetadata[])
packages/better-auth/src/db/get-migration.ts:189
↓ 1 callersFunctiontoHeadersInit
Preserves standard `HeadersInit` values and removes undefined record entries.
packages/better-auth/src/client/vue/index.ts:30
↓ 1 callersFunctiontoHex
(n: number)
docs/app/brand/brand-client.tsx:284
↓ 1 callersFunctiontoJwksFetchFailure
( error: unknown, )
packages/oauth-provider/src/utils/client-assertion.ts:163
↓ 1 callersFunctiontoKebabCase
(input: string)
packages/core/src/utils/string.ts:19
↓ 1 callersFunctiontoOpenApiPath
(path: string)
packages/better-auth/src/plugins/open-api/generator.ts:837
↓ 1 callersFunctiontoPascalCase
(input: string)
packages/core/src/utils/string.ts:36
↓ 1 callersFunctiontoPosixPath
(path: string)
test/unit/no-multi-clause-adapter-update.test.ts:24
↓ 1 callersFunctiontoPrismaValue
(v: unknown)
packages/prisma-adapter/src/prisma-adapter.ts:300
↓ 1 callersFunctiontoReleaseTitle
Orphan titles come from a changeset's first line, which can be a paragraph.
packages/release-tooling/src/release-notes/collect.ts:215
↓ 1 callersFunctiontoResourceRequestInput
( request: Request | ResourceRequestInput, )
packages/oauth-provider/src/client-resource.ts:131
↓ 1 callersFunctiontoStderr
(question: PromptObject)
packages/cli/src/utils/prompt.ts:28
↓ 1 callersFunctiontoStringArray
(value: unknown)
packages/sso/src/saml/response-binding.ts:37
↓ 1 callersFunctiontoStringSet
(values: Array<string | undefined>)
packages/sso/src/saml/response-binding.ts:49
↓ 1 callersFunctiontoTypes
(entry: string)
packages/better-auth/src/package-exports.test.ts:24
↓ 1 callersFunctiontoValidIdentifier
* Convert a schema namespace into a valid JavaScript identifier so it can be * used as the `export const <name>Schema = pgSchema(...)` variable name.
packages/drizzle-adapter/src/relations-v2/generate-drizzle-schema.ts:48
↓ 1 callersFunctiontoValidIdentifier
(str: string)
packages/cli/src/generators/drizzle.ts:19
↓ 1 callersFunctiontoast
({ ...props }: Toast)
demo/nextjs/hooks/use-toast.ts:143
↓ 1 callersFunctiontoken
(authorization: string)
packages/oauth-provider/src/challenge-exposure.test.ts:48
↓ 1 callersFunctiontokenEndpoint
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/token.ts:105
↓ 1 callersFunctiontokenFor
(identity: { email: string; name: string; emailVerified: boolean; })
packages/better-auth/src/social.test.ts:3987
↓ 1 callersFunctiontokenForm
(params: Record<string, string | undefined>)
packages/oauth-provider/src/resource-binding.test.ts:22
↓ 1 callersFunctiontotp2fa
(options?: TOTPOptions | undefined)
packages/better-auth/src/plugins/two-factor/totp/index.ts:98
↓ 1 callersFunctiontrack
(event: TelemetryEvent)
packages/telemetry/src/index.ts:33
↓ 1 callersFunctiontrack
(event: TelemetryEvent)
packages/telemetry/src/node.ts:322
↓ 1 callersFunctiontransformGeneratedModel
(data: Record<string, any>)
packages/test-utils/src/adapter/create-test-suite.ts:460
↓ 1 callersFunctiontransformInput
( data: Record<string, any>, defaultModelName: string, action: "create" | "update" | "findOne" | "fin
packages/core/src/db/adapter/factory.ts:197
↓ 1 callersFunctiontransformJoinClause
( baseModel: string, unsanitizedJoin: JoinOption | undefined, select: string[] | undefined, )
packages/core/src/db/adapter/factory.ts:631
↓ 1 callersFunctiontransformOutput
( data: Record<string, any> | null, inputModel: string, select: string[] = [], join: JoinConfig |
packages/core/src/db/adapter/factory.ts:309
↓ 1 callersFunctiontransformSingleOutput
( data: Record<string, any> | null, inputModel: string, select: string[] = [], )
packages/core/src/db/adapter/factory.ts:315
↓ 1 callersFunctiontransportError
(description: string, transient: boolean)
packages/cimd/src/client-store.ts:70
↓ 1 callersFunctiontrimOWS
* Trim leading/trailing OWS (space / horizontal tab) per RFC 7230 §3.2.3. * Narrower than `String.prototype.trim()`, which strips CR/LF and other *
packages/better-auth/src/cookies/cookie-utils.ts:210
↓ 1 callersFunctiontruncateAllTables
( dialect: Dialect, db: RawClient, )
e2e/adapter/test/prisma-adapter/push-prisma-schema.ts:45
↓ 1 callersFunctiontruncateUtf8
(value: string, maxBytes: number)
packages/core/src/db/database-index.ts:15
↓ 1 callersFunctiontruncateUtf8
(value: string, maxBytes: number)
docs/lib/copy-schema/utils.ts:9
↓ 1 callersFunctiontrustAnchors
( identityProvider: ReturnType<typeof createIdP>["entityMeta"], )
packages/sso/src/routes/providers.ts:181
↓ 1 callersFunctiontryCatch
( promise: Promise<T>, )
packages/test-utils/src/adapter/create-test-suite.ts:131
↓ 1 callersFunctiontryDecode
(str: string)
packages/better-auth/src/plugins/bearer/index.ts:31
↓ 1 callersFunctiontryExtractCodeFromUrl
(urlString: string)
packages/cimd/src/flows.test.ts:111
↓ 1 callersFunctiontwitch
(options: TwitchOptions)
packages/core/src/social-providers/twitch.ts:40
↓ 1 callersFunctiontwitter
(options: TwitterOption)
packages/core/src/social-providers/twitter.ts:107
↓ 1 callersFunctiontwoCompoundUsers
(userBackRelations: string)
packages/cli/test/generate.test.ts:542
↓ 1 callersFunctiontypeErrors
* Type-checks the generated schema and returns its diagnostics, ignoring * module-resolution errors for `drizzle-orm` (not resolvable in this sandbox
packages/drizzle-adapter/src/relations-v2/generate-drizzle-schema.test.ts:54
↓ 1 callersFunctiontypeSubAttribute
()
packages/scim/src/user-schemas.ts:216
↓ 1 callersFunctionunauthorizedResourceResponse
( requestedResource: string, )
packages/better-auth/src/plugins/access/access.ts:28
↓ 1 callersFunctionunbanUser
(opts: AdminOptions)
packages/better-auth/src/plugins/admin/routes.ts:1008
↓ 1 callersFunctionuniqueProfilePlugin
()
packages/cli/test/generate.test.ts:1622
↓ 1 callersFunctionuniqueVerificationIdentifier
()
packages/better-auth/src/plugins/email-otp/email-otp.test.ts:3129
↓ 1 callersFunctionuniqueViolation
()
packages/oauth-provider/src/oauthResource/endpoints.test.ts:464
↓ 1 callersFunctionunknownResourceResponse
(requestedResource: string)
packages/better-auth/src/plugins/access/access.ts:21
↓ 1 callersFunctionunlinkClientResourceEndpoint
( ctx: GenericEndpointContext & { params: { identifier: string; client_id: string }; }, opts: OAuthOption
packages/oauth-provider/src/oauthResource/endpoints.ts:321
↓ 1 callersMethodunlock
()
packages/kysely-adapter/src/bun-sqlite-dialect.ts:168
↓ 1 callersMethodunlock
()
packages/kysely-adapter/src/node-sqlite-dialect.ts:168
↓ 1 callersFunctionunsafeChangeConfig
(database: BetterAuthOptions["database"])
packages/better-auth/src/db/get-migration-unsafe-change.test.ts:45
↓ 1 callersFunctionunsubscribe
()
packages/better-auth/src/plugins/organization/organization.test.ts:2946
↓ 1 callersFunctionuntilAborted
* Rejects once the plugin's fetch timeout fires, as a transport whose request * had reached the host does.
packages/cimd/src/stale-if-error.test.ts:46
↓ 1 callersFunctionunwrapCodeBlock
(markdown: string)
docs/lib/llm-text.ts:56
↓ 1 callersFunctionupdate
(input: UpdateInput)
packages/scim/src/scim-create-uniqueness.test.ts:121
↓ 1 callersFunctionupdate
()
packages/better-auth/src/db/internal-adapter.test.ts:2179
↓ 1 callersFunctionupdate
()
docs/components/ai-chat.tsx:161
↓ 1 callersFunctionupdateApiKey
({ configurations, schema, deleteAllExpiredApiKeys, }: { configurations: PredefinedApiKeyOptions[]; schem
packages/api-key/src/routes/update-api-key.ts:107
↓ 1 callersFunctionupdateConsentEndpoint
( ctx: GenericEndpointContext & { body: { id: string } }, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/oauthConsent/endpoints.ts:103
↓ 1 callersFunctionupdateManyWithHooks
( data: any, where: Where[], model: BaseModelNames, customUpdateFn?: | { fn: (data: Record<str
packages/better-auth/src/db/with-hooks.ts:194
↓ 1 callersFunctionupdateMemberRole
(option: O)
packages/better-auth/src/plugins/organization/routes/crud-members.ts:486
↓ 1 callersFunctionupdateOktaRecipeStep
( key: OktaLocalRecipeStepKey, status: OktaLocalRecipeStepState["status"], summary: string | null = null
demo/nextjs/app/dashboard/scim/settings.tsx:1181
↓ 1 callersFunctionupdateOnlyFirstMatch
( adapter: Pick<DBAdapter, "findMany" | "update">, )
packages/sso/src/saml.test.ts:8068
↓ 1 callersFunctionupdateOrgRole
(options: O)
packages/better-auth/src/plugins/organization/routes/crud-access-control.ts:848
↓ 1 callersFunctionupdateOrganization
( options?: O | undefined, )
packages/better-auth/src/plugins/organization/routes/crud-org.ts:369
↓ 1 callersFunctionupdateRecipeStep
( key: EntraLocalRecipeStepKey, status: EntraLocalRecipeStepState["status"], summary: string | null = nu
demo/nextjs/app/dashboard/scim/settings.tsx:721
↓ 1 callersFunctionupdateResourceEndpoint
( ctx: GenericEndpointContext & { params: { identifier: string }; body: Partial<OAuthResourceInput>; },
packages/oauth-provider/src/oauthResource/endpoints.ts:156
↓ 1 callersFunctionupdateRotationScope
(scope: SCIMScope, checked: boolean)
demo/nextjs/app/dashboard/scim/settings.tsx:1570
↓ 1 callersFunctionupdateSSOProvider
(options: SSOOptions)
packages/sso/src/routes/providers.ts:820
↓ 1 callersFunctionupdateSession
()
packages/better-auth/src/api/routes/update-session.ts:17
↓ 1 callersFunctionupdateStep
( key: LifecycleStepKey, stepStatus: StepStatus, summary: string | null = null, )
demo/nextjs/app/dashboard/scim/lifecycle-walkthrough.tsx:290
↓ 1 callersFunctionupdateTeam
(options: O)
packages/better-auth/src/plugins/organization/routes/crud-team.ts:397
↓ 1 callersFunctionupdateUser
()
packages/better-auth/src/api/routes/update-user.ts:34
↓ 1 callersFunctionupdateUsername
( headers: Record<string, string>, value: string, )
packages/better-auth/src/plugins/username/username.test.ts:1452
↓ 1 callersFunctionupdateViewportMode
()
docs/components/version-switcher.tsx:188
↓ 1 callersFunctionupdateWithHooks
( data: any, where: Where[], model: BaseModelNames, customUpdateFn?: | { fn?: (data: Record<st
packages/better-auth/src/db/with-hooks.ts:103
↓ 1 callersFunctionupgradeAction
(opts: unknown)
packages/cli/src/commands/upgrade.ts:45
↓ 1 callersFunctionupgradeSubscription
(options: StripeOptions)
packages/stripe/src/routes.ts:257
↓ 1 callersFunctionupstashError
* Upstash puts the whole request body, key and value included, in the message. * @see https://github.com/upstash/redis-js/blob/v1.38.0/pkg/http.ts
packages/better-auth/src/db/secondary-storage-errors.test.ts:49
↓ 1 callersFunctionurlClientIdOrigin
(clientId: string)
packages/oauth-provider/src/utils/client-assertion.ts:468
↓ 1 callersFunctionurlEncoded
(value: string)
packages/core/src/db/secondary-storage-errors.ts:38
↓ 1 callersFunctionuseAIChatHotKey
()
docs/components/ai-chat.tsx:675
↓ 1 callersFunctionuseAdapter
(adapter: object)
packages/cli/src/commands/check.test.ts:32
↓ 1 callersFunctionuseChangePasswordMutation
()
demo/nextjs/data/user/change-password-mutation.ts:19
↓ 1 callersFunctionuseCommandMenu
()
docs/components/command-menu.tsx:43
↓ 1 callersFunctionuseCopyButton
( onCopy: () => void | Promise<void>, )
docs/components/ui/use-copy-button.tsx:5
↓ 1 callersFunctionuseDismissablePopover
( open: boolean, setOpen: Dispatch<SetStateAction<boolean>>, containerRef: RefObject<HTMLDivElement | null>
docs/components/version-switcher.tsx:18
← previousnext →4,401–4,500 of 6,819, ranked by callers