MCPcopy Create free account

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

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

↓ 1 callersFunctiongetVerificationOTP
(opts: RequiredEmailOTPOptions)
packages/better-auth/src/plugins/email-otp/routes.ts:252
↓ 1 callersFunctiongetVersion
(pkgManager: PackageManager)
packages/cli/src/utils/check-package-managers.ts:177
↓ 1 callersFunctiongetVersion
(command: string)
packages/cli/src/commands/info.ts:83
↓ 1 callersFunctiongetVersionFromLocalPackageJson
( pkg: string, )
packages/telemetry/src/node.ts:67
↓ 1 callersFunctiongetVersionTitle
(version: DocsVersion)
docs/components/version-switcher.tsx:50
↓ 1 callersFunctiongetVirtualModuleAliases
Virtual module aliases; real tsconfig paths go through the babel plugin.
packages/cli/src/utils/get-config.ts:257
↓ 1 callersFunctiongetViteAssetStub
(specifier: string)
packages/cli/src/utils/vite-virtual-modules.ts:44
↓ 1 callersFunctiongetWithHooks
( adapter: DBAdapter<BetterAuthOptions>, ctx: { options: BetterAuthOptions; hooks: DatabaseHooksEntry[];
packages/better-auth/src/db/with-hooks.ts:21
↓ 1 callersFunctiongetZodInputOptionality
* Resolve input optionality exactly as Zod's JSON Schema emitter does. * * @see https://github.com/colinhacks/zod/blob/v4.5.4/packages/zod/src/v4/co
packages/better-auth/src/plugins/open-api/generator.ts:324
↓ 1 callersFunctiongetZodStringSchemaConstraints
(zodType: z.ZodType<unknown>)
packages/better-auth/src/plugins/open-api/generator.ts:202
↓ 1 callersFunctiongithubGetFileContent
(path: string, ref = "main")
docs/lib/ai-chat/route.ts:197
↓ 1 callersFunctiongithubHeaders
()
docs/lib/ai-chat/route.ts:145
↓ 1 callersFunctiongithubReader
(pullRequest: GitHubPullRequest)
packages/release-tooling/test/changeset-recommend.test.ts:5
↓ 1 callersFunctiongithubSearchCode
(query: string, path?: string)
docs/lib/ai-chat/route.ts:156
↓ 1 callersFunctiongivenName
(name: unknown)
packages/oauth-provider/src/standard-claims.test.ts:22
↓ 1 callersFunctiongoogleAccounts
()
packages/better-auth/src/api/routes/account.test.ts:3405
↓ 1 callersFunctiongoogleIdTokenOptions
(email: string)
packages/better-auth/src/social.test.ts:712
↓ 1 callersFunctiongrantRevokedDuringIssuance
()
packages/oauth-provider/src/token.ts:588
↓ 1 callersFunctiongroupTestsByMigrationOptions
()
packages/test-utils/src/adapter/create-test-suite.ts:737
↓ 1 callersFunctionhandleAuth
()
demo/oidc-client/src/lib/auth/useAuth.ts:219
↓ 1 callersFunctionhandleAuthorizationCodeGrant
* Obtains new Session Jwt and Refresh Tokens using a code
packages/oauth-provider/src/token.ts:1625
↓ 1 callersFunctionhandleClaudeCodeAction
()
packages/cli/src/commands/mcp.ts:117
↓ 1 callersFunctionhandleClientCredentialsGrant
* Grant that allows direct access to an API using the application's credentials * This grant is for M2M so the concept of a user id does not exist on
packages/oauth-provider/src/token.ts:1875
↓ 1 callersFunctionhandleCodexAction
()
packages/cli/src/commands/mcp.ts:89
↓ 1 callersFunctionhandleCursorAction
()
packages/cli/src/commands/mcp.ts:35
↓ 1 callersFunctionhandleDeepLink
({ $fetch, options, url, getWindow, clientOptions, }: { $fetch: BetterFetch; options: ElectronClientOpt
packages/electron/src/browser.ts:89
↓ 1 callersFunctionhandleDeleteUser
(id: string)
demo/nextjs/app/admin/page.tsx:142
↓ 1 callersFunctionhandleFallbackJoin
({ baseModel, baseData, joinModel, specificJoinConfig: joinConfig, }: { baseModel: string;
packages/core/src/db/adapter/factory.ts:748
↓ 1 callersFunctionhandleFeedback
(type: "positive" | "negative")
docs/components/message-feedback.tsx:26
↓ 1 callersFunctionhandleImpersonateUser
(id: string)
demo/nextjs/app/admin/page.tsx:179
↓ 1 callersFunctionhandleLoginRedirect
()
demo/oidc-client/src/lib/auth/useAuth.ts:92
↓ 1 callersFunctionhandleLogoutRequest
( ctx: any, sp: ReturnType<typeof createSP>, idp: ReturnType<typeof createIdP>, relayState: string | undef
packages/sso/src/routes/sso.ts:2333
↓ 1 callersFunctionhandleLogoutResponse
( ctx: any, sp: ReturnType<typeof createSP>, idp: ReturnType<typeof createIdP>, relayState: string | undef
packages/sso/src/routes/sso.ts:2259
↓ 1 callersFunctionhandleManualAction
()
packages/cli/src/commands/mcp.ts:202
↓ 1 callersFunctionhandleOpenCodeAction
()
packages/cli/src/commands/mcp.ts:144
↓ 1 callersFunctionhandlePrompt
(attempt: number)
packages/better-auth/src/plugins/one-tap/client.ts:374
↓ 1 callersFunctionhandleRedirect
()
packages/electron/src/proxy.ts:62
↓ 1 callersFunctionhandleRefreshTokenGrant
* Obtains new Session Jwt and Refresh Tokens using a refresh token * * Refresh tokens will only allow the same or lesser scopes as the initial autho
packages/oauth-provider/src/token.ts:1961
↓ 1 callersFunctionhandleRequestAuth
(opts?: ElectronRequestAuthOptions | undefined)
demo/electron/src/renderer/src/components/request-auth.tsx:13
↓ 1 callersFunctionhandleRevokeSessions
(id: string)
demo/nextjs/app/admin/page.tsx:161
↓ 1 callersFunctionhandleSelect
(version: DocsVersion)
docs/components/version-switcher.tsx:74
↓ 1 callersFunctionhandleSuggestionClick
(suggestion: string)
docs/components/command-menu.tsx:425
↓ 1 callersFunctionhandler
(req: IncomingMessage, res: ServerResponse)
packages/cimd/src/node.tls.test.ts:49
↓ 1 callersFunctionhasActiveChild
(folder: PageTreeFolder, pathname: string)
docs/components/docs/custom-sidebar.tsx:147
↓ 1 callersFunctionhasAllowedAction
( allowedActions: readonly string[], requestedAction: unknown, )
packages/better-auth/src/plugins/access/access.ts:77
↓ 1 callersFunctionhasAny
(...keys: string[])
packages/telemetry/src/node.ts:121
↓ 1 callersFunctionhasAny
(...keys: string[])
packages/telemetry/src/detectors/detect-system-info.ts:4
↓ 1 callersFunctionhasBuiltInOpaqueInvitationIdGeneration
({ advancedGenerateId, databaseGenerateId, }: { advancedGenerateId: GenerateIdFn | undefined; databaseGene
packages/better-auth/src/plugins/organization/routes/crud-invites.ts:107
↓ 1 callersFunctionhasContainerEnv
()
packages/telemetry/src/node.ts:199
↓ 1 callersFunctionhasDataKey
(key: string)
packages/better-auth/src/plugins/admin/routes.ts:564
↓ 1 callersFunctionhasDockerCGroup
()
packages/telemetry/src/node.ts:182
↓ 1 callersFunctionhasDockerEnv
()
packages/telemetry/src/node.ts:173
↓ 1 callersFunctionhasDriverRowCount
(result: unknown)
packages/drizzle-adapter/src/drizzle-adapter.ts:128
↓ 1 callersFunctionhasDriverRowCount
(result: unknown)
packages/drizzle-adapter/src/relations-v2/index.ts:86
↓ 1 callersFunctionhasEncryptedAssertion
(xml: string)
packages/sso/src/saml/algorithms.ts:144
↓ 1 callersFunctionhasFunctionString
(obj: any)
packages/cli/src/commands/init/utility/plugin.ts:200
↓ 1 callersFunctionhasIcon
(key: string)
docs/lib/page-tree.ts:18
↓ 1 callersFunctionhasIcon
(key: string)
docs/scripts/validate-sidebar-icons.ts:48
↓ 1 callersFunctionhasPendingSetCookie
* Whether the response already has a pending `Set-Cookie` for `cookieName` * or a chunked variant.
packages/better-auth/src/cookies/index.ts:467
↓ 1 callersFunctionhasRootUniqueWhereCondition
( model: string, where?: Where[] | undefined, )
packages/prisma-adapter/src/prisma-adapter.ts:217
↓ 1 callersFunctionhasServerAccountStore
(options: BetterAuthOptions)
packages/better-auth/src/context/store-capabilities.ts:7
↓ 1 callersFunctionhasSessionCookieChanged
( prevCookie: string | null, newCookie: string, )
packages/electron/src/cookies.ts:60
↓ 1 callersFunctionhasSessionCookieChanged
* Compare if session cookies have actually changed by comparing their values. * Ignores expiry timestamps that naturally change on each request. *
packages/expo/src/client.ts:161
↓ 1 callersFunctionhasStaticColumnDefault
(field: DBFieldAttribute)
packages/better-auth/src/db/get-migration.ts:520
↓ 1 callersFunctionhasStringMember
( key: Record<string, unknown>, memberName: string, )
packages/oauth-provider/src/client-jwks.ts:46
↓ 1 callersFunctionhasSupportedPrivateKeyJwtAlgorithm
( key: Record<string, unknown>, )
packages/oauth-provider/src/client-jwks.ts:90
↓ 1 callersFunctionhasTimestampColumnDefault
( field: DBFieldAttribute, dbType: KyselyDatabaseType, )
packages/better-auth/src/db/get-migration.ts:504
↓ 1 callersFunctionhasUniqueSCIMDefinedTypes
( values: readonly { type?: string }[], )
packages/scim/src/user-schemas.ts:50
↓ 1 callersFunctionhasUserInfoClaimExtension
( opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/extensions.ts:411
↓ 1 callersFunctionhaveIBeenPwned
(options?: HaveIBeenPwnedOptions | undefined)
packages/better-auth/src/plugins/haveibeenpwned/index.ts:118
↓ 1 callersFunctionheldDatabase
Holds the next query on a fetch to the test's stall server once `holdNext` is set.
e2e/smoke/test/fixtures/cloudflare/src/verification-lock.ts:10
↓ 1 callersFunctionheldSeedDatabase
Holds the next `oauthResource` query on a fetch to the test's stall server.
e2e/smoke/test/fixtures/cloudflare/src/plugin-retry.ts:14
↓ 1 callersFunctionholdNext
Pauses the first adapter call that `matches` until `release` runs.
packages/oauth-provider/src/token.test.ts:6083
↓ 1 callersFunctionholdNextAccessTokenInsert
Pauses the next access-token insert until `release` is called.
packages/oauth-provider/src/token.test.ts:1774
↓ 1 callersFunctionholdNextRefreshTokenCas
Pauses the next refresh-token CAS until `release` is called.
packages/oauth-provider/src/token.test.ts:1748
↓ 1 callersFunctionhookMatcher
(ctx: HookEndpointContext)
packages/electron/src/index.ts:41
↓ 1 callersFunctionhtml
( options: BetterAuthOptions, code: string = "Unknown", description: string | null = null, )
packages/better-auth/src/api/routes/error.ts:18
↓ 1 callersFunctionhttpGet
( port: number, path: string, hostHeader: string, )
e2e/integration/vanilla-node/e2e/dynamic-base-url.spec.ts:14
↓ 1 callersFunctionhubspot
( options: HubSpotOptions, )
packages/better-auth/src/plugins/generic-oauth/providers/hubspot.ts:56
↓ 1 callersFunctionhydrateCachedVerification
(raw: unknown)
packages/better-auth/src/db/internal-adapter.ts:1530
↓ 1 callersFunctionhydrateSessionAtom
( sessionAtom: SessionAtom, session: SessionData | null, )
packages/better-auth/src/client/session-atom.ts:24
↓ 1 callersFunctionhydrateSessionCache
()
packages/expo/src/client.ts:288
↓ 1 callersFunctioni
(x: string)
e2e/adapter/test/prisma-adapter/generate-prisma-schema.ts:15
↓ 1 callersFunctioni
(x: string)
e2e/adapter/test/drizzle-adapter/generate-schema.ts:31
↓ 1 callersFunctioni
(x: string)
e2e/adapter/test/drizzle-v2-relations-adapter/generate-schema.ts:31
↓ 1 callersFunctioni18n
( options: I18nOptions<Locales>, )
packages/i18n/src/index.ts:67
↓ 1 callersFunctioniconWithClassName
(icon: LucideIcon)
demo/expo/src/lib/icons/iconWithClassName.ts:4
↓ 1 callersFunctionidField
(nativeType: [string, unknown[]] | null)
packages/prisma-adapter/src/prisma-adapter.test.ts:39
↓ 1 callersFunctionidGenerator
()
packages/test-utils/src/adapter/create-test-suite.ts:468
↓ 1 callersFunctionidToken
(subject: string)
packages/core/src/social-providers/paypal.test.ts:40
↓ 1 callersFunctionidTokenFor
(email: string)
packages/better-auth/src/social.test.ts:4124
↓ 1 callersFunctionidWhere
( row: StoredRow, model: string, action: "consumeOne" | "incrementOne", )
packages/core/src/db/adapter/atomic-fallback.ts:60
↓ 1 callersFunctionimpersonateUser
(opts: AdminOptions)
packages/better-auth/src/plugins/admin/routes.ts:1225
↓ 1 callersFunctionimportConfiguredSigningKeys
(value: string)
demo/nextjs/lib/scim-demo-oidc.ts:422
↓ 1 callersFunctionimportLocalPublicKey
( ctx: GenericEndpointContext, token: string, options?: JwtOptions, )
packages/better-auth/src/plugins/jwt/cookie-cache.ts:26
↓ 1 callersFunctioninIPv4Range
Check whether a 32-bit value matches `prefix/length` (both unsigned).
packages/core/src/utils/host.ts:160
↓ 1 callersFunctioninactiveAccessToken
()
packages/oauth-provider/src/introspect.ts:61
↓ 1 callersFunctionincludeSelectedValue
( value: unknown, node: AttributePathNode, )
packages/scim/src/resource-attribute-projection.ts:87
↓ 1 callersFunctionincrement
(key, ttl)
packages/better-auth/src/api/rate-limiter/rate-limiter.test.ts:25
↓ 1 callersFunctionincrementInTransaction
(trx: any)
packages/kysely-adapter/src/kysely-adapter.ts:1000
← previousnext →3,001–3,100 of 6,486, ranked by callers