MCPcopy Create free account

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

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

↓ 1 callersFunctionstripTeamMembershipKey
(member: StoredTeamMember)
packages/better-auth/src/plugins/organization/adapter.ts:169
↓ 1 callersFunctionstripTeamMembershipKeys
(members: StoredTeamMember[])
packages/better-auth/src/plugins/organization/adapter.ts:174
↓ 1 callersFunctionstripTrailingDot
* Strip trailing dots (RFC 1034 absolute DNS form): `localhost.` → `localhost`. * Without this, `metadata.google.internal.` would fall through to `pu
packages/core/src/utils/host.ts:138
↓ 1 callersFunctionstripTrailingSlash
(url: string | undefined)
packages/better-auth/src/plugins/oauth-proxy/utils.ts:9
↓ 1 callersFunctionstripZoneId
Strip IPv6 zone identifier: `fe80::1%eth0` → `fe80::1`.
packages/core/src/utils/host.ts:126
↓ 1 callersFunctionstripeWebhook
(options: StripeOptions)
packages/stripe/src/routes.ts:1995
↓ 1 callersFunctionstubBrowser
()
packages/better-auth/src/plugins/one-tap/one-tap.test.ts:1037
↓ 1 callersFunctionstubMetadataFetch
( url: string, document: Record<string, unknown>, )
packages/cimd/src/flows.test.ts:44
↓ 1 callersFunctionstubSignedPage
()
packages/oauth-provider/src/client.test.ts:20
↓ 1 callersFunctionsub
(otp: string)
packages/better-auth/src/plugins/email-otp/email-otp.test.ts:1879
↓ 1 callersFunctionsubmit
(body: string)
packages/sso/src/saml.test.ts:4939
↓ 1 callersFunctionsubmit
(token: string)
packages/better-auth/src/plugins/generic-oauth/generic-oauth.test.ts:5489
↓ 1 callersFunctionsubscribe
(listener: () => void)
docs/lib/mobile-navigation.ts:10
↓ 1 callersFunctionsubscriptionSuccess
(options: StripeOptions)
packages/stripe/src/routes.ts:1689
↓ 1 callersFunctionsvelteKitHandler
({ auth, event, resolve, building, }: { auth: { handler: (request: Request) => Response | Promise<Respo
packages/better-auth/src/integrations/svelte-kit.ts:15
↓ 1 callersFunctionsveltekitCookies
( getRequestEvent: () => RequestEvent<any, any>, )
packages/better-auth/src/integrations/svelte-kit.ts:58
↓ 1 callersFunctionsyncSeatsAfterMemberChange
(data: { organization: Organization & WithStripeCustomerId; })
packages/stripe/src/index.ts:177
↓ 1 callersFunctionsyncTeamMemberCount
( adapter: DBTransactionAdapter, teamId: string, )
packages/better-auth/src/plugins/organization/adapter.ts:70
↓ 1 callersFunctiontableFor
(name: string)
e2e/adapter/test/drizzle-v2-relations-adapter/adapter.drizzle.schema-check.test.ts:82
↓ 1 callersFunctiontableHasRows
( db: Kysely<Record<string, Record<string, unknown>>>, dbType: KyselyDatabaseType, table: string, )
packages/better-auth/src/db/get-migration.ts:532
↓ 1 callersFunctiontablesFor
* Every table this configuration writes, declared the way `auth generate` would.
packages/drizzle-adapter/src/schema-check.test.ts:34
↓ 1 callersFunctiontamperSignature
(token: string)
packages/oauth-provider/src/jwt-verification-errors.test.ts:42
↓ 1 callersFunctiontanstackStartCookies
()
packages/better-auth/src/integrations/tanstack-start.ts:24
↓ 1 callersFunctiontenantKeyStore
Picks signing keys by a request header, as a multi-tenant key store does.
packages/oauth-provider/src/local-jwks.test.ts:201
↓ 1 callersFunctiontenantOf
(ctx: { headers?: Headers | undefined })
packages/oauth-provider/src/local-jwks.test.ts:273
↓ 1 callersFunctionterminate
(child: ChildProcess)
e2e/integration/test-utils/src/playwright.ts:56
↓ 1 callersFunctiontest
()
e2e/adapter/test/adapter-factory/scim-http-test-suite.ts:91
↓ 1 callersFunctiontestClientPlugin2
()
packages/better-auth/src/client/test-plugin.ts:161
↓ 1 callersFunctiontestDeepMergePluginA
()
packages/better-auth/src/client/test-plugin.ts:194
↓ 1 callersFunctiontestDeepMergePluginB
()
packages/better-auth/src/client/test-plugin.ts:208
↓ 1 callersFunctiontestPlugin
()
packages/cli/test/generate.test.ts:1373
↓ 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:629
↓ 1 callersFunctiontransformOutput
( data: Record<string, any> | null, inputModel: string, select: string[] = [], join: JoinConfig |
packages/core/src/db/adapter/factory.ts:307
↓ 1 callersFunctiontransformSingleOutput
( data: Record<string, any> | null, inputModel: string, select: string[] = [], )
packages/core/src/db/adapter/factory.ts:313
↓ 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 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:1455
↓ 1 callersFunctionuniqueVerificationIdentifier
()
packages/better-auth/src/plugins/email-otp/email-otp.test.ts:3129
↓ 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:322
↓ 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
()
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:178
← previousnext →4,301–4,400 of 6,712, ranked by callers