MCPcopy Create free account

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

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

↓ 1 callersFunctionloadGoogleScript
()
packages/better-auth/src/plugins/one-tap/client.ts:423
↓ 1 callersFunctionloadKyselyMigrationTableConstants
()
packages/kysely-adapter/src/sqlite-introspector.test.ts:91
↓ 1 callersFunctionloadNextHeadersModule
()
packages/better-auth/src/integrations/next-js.ts:37
↓ 1 callersFunctionloadOnce
()
packages/cli/src/utils/get-config.ts:423
↓ 1 callersFunctionloadOpenTelemetryAPI
()
packages/core/src/instrumentation/api.ts:7
↓ 1 callersFunctionloadPreviousPrereleaseChangesets
Load changeset IDs from the previous beta's pre.json to exclude from orphans.
packages/release-tooling/src/release-notes/collect.ts:499
↓ 1 callersFunctionloadSigningKeys
()
demo/nextjs/lib/scim-demo-oidc.ts:455
↓ 1 callersMethodlock
()
packages/kysely-adapter/src/bun-sqlite-dialect.ts:158
↓ 1 callersMethodlock
()
packages/kysely-adapter/src/node-sqlite-dialect.ts:158
↓ 1 callersFunctionlockAndRenewDecommissionLease
* Renews the lease and holds the binding write through the current transaction. * The write prevents an expired-lease takeover while reconciliation c
packages/scim/src/connection-decommission.ts:210
↓ 1 callersFunctionlogEnforcePerClientResourcesResolution
( opts: Pick<OAuthOptions<Scope[]>, "enforcePerClientResources">, )
packages/oauth-provider/src/resources.ts:1042
↓ 1 callersFunctionlogFailure
(logger: ResolutionLogger, message: string)
packages/sso/src/user-resolution.ts:52
↓ 1 callersFunctionlogStartupSeedFailure
(ctx: AuthContext, error: unknown)
packages/oauth-provider/src/resources.ts:821
↓ 1 callersFunctionlogged
()
packages/cli/test/ai.test.ts:55
↓ 1 callersFunctionlogged
()
packages/cli/test/mcp.test.ts:15
↓ 1 callersFunctionlogin
(params?: LoginParams)
demo/oidc-client/src/lib/auth/useAuth.ts:28
↓ 1 callersMethodlogin
(opts: TestAuthOptions)
packages/better-auth/src/plugins/test-utils/types.ts:55
↓ 1 callersFunctionlogout
()
demo/oidc-client/src/lib/auth/useAuth.ts:192
↓ 1 callersFunctionlogoutConfirmationCookiePath
(ctx: GenericEndpointContext)
packages/oauth-provider/src/logout.ts:415
↓ 1 callersFunctionlogoutConfirmationPage
(ctx: GenericEndpointContext)
packages/oauth-provider/src/logout.ts:424
↓ 1 callersFunctionlogoutErrorPage
(description: string, status: number)
packages/oauth-provider/src/logout.ts:440
↓ 1 callersFunctionlooksLikeIPv4
Fast dotted-decimal shape check. Does NOT validate octet bounds.
packages/core/src/utils/host.ts:143
↓ 1 callersFunctionlookupWithAbort
* Resolve every address of a hostname, rejecting with * `ERR_CIMD_DNS_LOOKUP_ABORTED` as soon as the signal aborts. An abandoned * lookup keeps its
packages/cimd/src/node.ts:24
↓ 1 callersFunctionmagicLinkIdentifier
(storedToken: string)
packages/better-auth/src/plugins/magic-link/index.ts:179
↓ 1 callersFunctionmain
()
packages/cli/src/index.ts:25
↓ 1 callersFunctionmain
()
docs/scripts/sync-typesense.ts:37
↓ 1 callersFunctionmain
()
docs/scripts/update-docs-version-source.ts:49
↓ 1 callersFunctionmakeAdapter
(overrides?: Partial<BetterAuthOptions>)
packages/better-auth/src/db/internal-adapter.test.ts:2171
↓ 1 callersFunctionmakeAdapter
(result: PostgresJsResult)
e2e/adapter/test/drizzle-v2-relations-adapter/adapter.drizzle.affected-count-postgres-js.test.ts:36
↓ 1 callersFunctionmakeAdapter
(result: ReturnType<typeof makeResult>)
e2e/adapter/test/drizzle-v2-relations-adapter/adapter.drizzle.affected-count-d1.test.ts:33
↓ 1 callersFunctionmakeAssertionExtensionPlugin
(id: string, method: string)
packages/oauth-provider/src/extensions.test.ts:931
↓ 1 callersFunctionmakeAuthExtensionPlugin
(id: string, assertionType: string)
packages/oauth-provider/src/extensions.test.ts:894
↓ 1 callersFunctionmakeDb
(insertIds: { id?: number }[], storedRows: typeof rows)
e2e/adapter/test/drizzle-adapter/adapter.drizzle.mysql-serial-insert-id.test.ts:47
↓ 1 callersFunctionmakeDb
()
e2e/adapter/test/drizzle-v2-relations-adapter/adapter.drizzle.mysql-serial-insert-id.test.ts:44
↓ 1 callersFunctionmakeDiscoveryExtensionPlugin
(pluginId: string)
packages/oauth-provider/src/extensions.test.ts:967
↓ 1 callersFunctionmakeEmbedded
* Pretend the page is a cross-origin iframe so the token is stored locally.
packages/better-auth/src/plugins/oauth-popup/oauth-popup.client.test.ts:44
↓ 1 callersFunctionmakeExtensionPlugin
(id: string)
packages/oauth-provider/src/extensions.test.ts:860
↓ 1 callersFunctionmakeHeldAdapter
A store without transactions whose first verification cleanup waits for `release`.
packages/better-auth/src/db/internal-adapter.test.ts:2246
↓ 1 callersFunctionmakeImageBytes
(magic: number[])
packages/electron/test/electron.test.ts:2558
↓ 1 callersFunctionmakeKeyset
()
packages/core/src/oauth2/verify-id-token.test.ts:22
↓ 1 callersFunctionmakeMetadataExtensionPlugin
(id: string, value: string)
packages/oauth-provider/src/extensions.test.ts:998
↓ 1 callersFunctionmakeQueryClient
()
demo/nextjs/data/query-client.ts:9
↓ 1 callersFunctionmakeRequest
(tenant: "a" | "b")
packages/better-auth/src/api/middlewares/origin-check.test.ts:1198
↓ 1 callersFunctionmakeResult
(count: number)
e2e/adapter/test/drizzle-v2-relations-adapter/adapter.drizzle.affected-count-postgres-js.test.ts:30
↓ 1 callersFunctionmakeResult
(changes: number)
e2e/adapter/test/drizzle-v2-relations-adapter/adapter.drizzle.affected-count-d1.test.ts:27
↓ 1 callersFunctionmakeSelect
(storedRows: typeof rows)
e2e/adapter/test/drizzle-adapter/adapter.drizzle.mysql-serial-insert-id.test.ts:15
↓ 1 callersFunctionmakeSelect
()
e2e/adapter/test/drizzle-v2-relations-adapter/adapter.drizzle.mysql-serial-insert-id.test.ts:24
↓ 1 callersFunctionmakeSignCtx
* Helper: builds a minimal `GenericEndpointContext` shim suitable for * passing to `signJWT`. Real handlers receive a much richer object, but * sign
packages/better-auth/src/plugins/jwt/sign-overrides.test.ts:61
↓ 1 callersFunctionmakeSignCtx
(authCtx: AuthContextShim)
packages/better-auth/src/plugins/jwt/multi-alg.test.ts:54
↓ 1 callersFunctionmanagementURL
(baseURL: string, organizationId: string)
e2e/integration/nextjs-demo/e2e/scim-demo.spec.ts:244
↓ 1 callersFunctionmarkSCIMGroupsModified
( database: DBTransactionAdapter, connectionId: string, groups: readonly SCIMGroup[], updatedAt: Date, )
packages/scim/src/group-state.ts:127
↓ 1 callersFunctionmarkSaved
(entry: CimdMetadataCacheEntry | null)
packages/cimd/src/resolver.ts:867
↓ 1 callersFunctionmarkSessionOutsideStore
(token: string)
packages/better-auth/src/api/state/session-source.ts:18
↓ 1 callersFunctionmaskClientId
(clientId: string)
packages/sso/src/utils.ts:131
↓ 1 callersFunctionmatchMultiValuedPrimaryPath
* Matches a path targeting one of the multi-valued `primary` attributes, * with or without a `[type eq "..."]` filter. `targetsPrimary` is true only
packages/scim/src/active-normalization.ts:85
↓ 1 callersFunctionmatcher
(context)
packages/sso/src/index.ts:412
↓ 1 callersFunctionmatcher
(context)
packages/better-auth/src/plugins/jwt/index.ts:353
↓ 1 callersFunctionmatchesCIDR
* Whether `ipBytes` falls inside an already-parsed CIDR network.
packages/core/src/utils/ip.ts:278
↓ 1 callersFunctionmatchesSCIMPrimary
(value: unknown, selectorPrimary: boolean)
packages/scim/src/user-patch.ts:738
↓ 1 callersFunctionmatchesSCIMType
(value: unknown, selectorType: string)
packages/scim/src/user-patch.ts:730
↓ 1 callersFunctionmatchesSessionSignal
(path: string)
packages/better-auth/src/client/config.ts:42
↓ 1 callersFunctionmatchesVersion
( payload: CookieCachePayload, version: CookieCacheVersion, )
packages/better-auth/src/cookies/index.ts:606
↓ 1 callersFunctionmatchingPathSegments
(left: string, right: string)
docs/lib/docs-versions.ts:76
↓ 1 callersFunctionmcpRequest
(accessToken: string)
packages/mcp/src/mcp.test.ts:733
↓ 1 callersFunctionmemberIds
(members?: { value?: string }[])
packages/scim/src/scim-read-limits.test.ts:332
↓ 1 callersFunctionmemberIdsOf
(groupId: string)
packages/scim/src/scim-read-limits.test.ts:272
↓ 1 callersFunctionmergeCacheHeaders
( previous: MetadataDocumentResponseCacheHeaders, revalidated: MetadataDocumentResponseCacheHeaders, )
packages/cimd/src/resolver.ts:355
↓ 1 callersFunctionmergeCookies
( cookies: Map<string, string>, setCookieHeader: string, )
e2e/smoke/test/session-token-refresh.spec.ts:216
↓ 1 callersFunctionmergeEnterprisePatchObject
( current: unknown, value: unknown, attribute: string, )
packages/scim/src/user-patch.ts:666
↓ 1 callersFunctionmergeMetadata
* Merge flat Stripe metadata objects, giving `internalFields` final priority. * Drops reserved keys that could mutate the target's prototype chain.
packages/stripe/src/metadata.ts:19
↓ 1 callersFunctionmergeOIDCConfig
( current: OIDCConfig, updates: Partial<OIDCConfig>, issuer: string, )
packages/sso/src/routes/providers.ts:791
↓ 1 callersFunctionmergeObjectSchemas
( left: OpenAPISchema, right: OpenAPISchema, description?: string, )
packages/better-auth/src/plugins/open-api/generator.ts:379
↓ 1 callersFunctionmergePatchObject
( current: unknown, value: unknown, attribute: string, )
packages/scim/src/user-patch.ts:620
↓ 1 callersFunctionmergeRefs
( ...refs: (React.Ref<T> | undefined)[] )
docs/lib/utils.ts:9
↓ 1 callersFunctionmergeSAMLConfig
( current: SAMLConfig, updates: SAMLConfigUpdate, issuer: string, )
packages/sso/src/routes/providers.ts:755
↓ 1 callersFunctionmergeSAMLIdentityProviderMetadata
( current: SAMLIdentityProviderMetadata, updates: Partial<SAMLIdentityProviderMetadata> | undefined, )
packages/sso/src/routes/providers.ts:742
↓ 1 callersFunctionmergeTableIndexes
( ...indexCollections: ReadonlyArray<readonly DBTableIndex[] | undefined> )
packages/core/src/db/get-tables.ts:9
↓ 1 callersFunctionmergeTransactionInto
* Commit a transaction onto the live database with a three-way merge so a * concurrent write that interleaved at an `await` point survives. * * `ba
packages/memory-adapter/src/memory-adapter.ts:57
↓ 1 callersFunctionmetadataFetchCapacityRefusal
()
packages/cimd/src/client-store.ts:111
↓ 1 callersFunctionmetadataRequiredAssertionSigningConfiguration
()
packages/sso/src/saml.test.ts:6965
↓ 1 callersFunctionmicrosoftEntraId
( options: MicrosoftEntraIdOptions, )
packages/better-auth/src/plugins/generic-oauth/providers/microsoft-entra-id.ts:69
↓ 1 callersFunctionmigrate
()
packages/test-utils/src/adapter/test-adapter.ts:178
↓ 1 callersFunctionmintHeadlessCode
()
packages/oauth-provider/src/token.test.ts:778
↓ 1 callersFunctionmintRedirectBoundCode
()
packages/oauth-provider/src/token.test.ts:804
↓ 1 callersFunctionmintRefreshToken
Runs the real authorize + consent + token exchange to mint a refresh token.
packages/mcp/src/plugin.test.ts:646
↓ 1 callersFunctionmirrorSessionToSecondaryStorage
(sessionData: Session)
packages/better-auth/src/db/internal-adapter.ts:613
↓ 1 callersFunctionmockActiveIntrospection
()
packages/core/src/oauth2/verify.test.ts:1955
↓ 1 callersFunctionmockAppleJwks
(publicJWK: JWK)
packages/core/src/social-providers/apple.test.ts:44
↓ 1 callersFunctionmockBreached
* Stubs the Have I Been Pwned range API so the given password is reported as * breached. The plugin sends only the first five hash characters; the re
packages/better-auth/src/plugins/haveibeenpwned/haveibeenpwned.test.ts:17
↓ 1 callersFunctionmockDiscordToken
( id: string, username: string, email: string | null = null, )
packages/better-auth/src/oauth2/link-account.test.ts:2125
↓ 1 callersFunctionmockDiscovery
(issuer: string)
packages/better-auth/src/plugins/generic-oauth/generic-oauth.test.ts:3821
↓ 1 callersFunctionmockGithubToken
(login: string, id: number, email: string)
packages/better-auth/src/oauth2/link-account.test.ts:1845
↓ 1 callersFunctionmockGoogleIdTokenProfile
(profile: { sub: string; email: string })
packages/better-auth/src/api/routes/account.test.ts:3412
↓ 1 callersFunctionmockGoogleToken
(idToken: string)
packages/sso/src/linking/org-assignment.security.test.ts:38
↓ 1 callersFunctionmockGoogleToken
(email: string, sub: string)
packages/better-auth/src/oauth2/link-account.test.ts:1823
↓ 1 callersFunctionmockGoogleTokenResponse
( idToken: string, responseScope: string | undefined, )
packages/better-auth/src/social.test.ts:4363
↓ 1 callersFunctionmockGraphResponses
(responses: { debug?: ReturnType<typeof debugTokenResponse>; me?: ReturnType<typeof profileResponse>; })
packages/core/src/social-providers/facebook.test.ts:46
↓ 1 callersFunctionmockHttpsResponse
(options: MockResponseOptions = {})
packages/cimd/src/node.test.ts:33
↓ 1 callersFunctionmockIdp
(agent: MockAgent)
test/unit/oauth-stateless-account-data.test.ts:32
↓ 1 callersFunctionmockIntrospection
(body: Record<string, unknown>)
packages/core/src/oauth2/verify.test.ts:1838
← previousnext →3,401–3,500 of 6,653, ranked by callers