Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/better-auth/better-auth
/ functions
Functions
6,486 in github.com/better-auth/better-auth
⨍
Functions
6,486
◇
Types & classes
1,386
↓ 1 callers
Function
fetchClientJwks
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, client: SchemaClient<Scope[]>, )
packages/oauth-provider/src/utils/client-assertion.ts:239
↓ 1 callers
Function
fetchDiscovery
( url: string, headers?: Record<string, string>, timeout?: number, )
packages/better-auth/src/plugins/generic-oauth/index.ts:120
↓ 1 callers
Function
fetchGitHubStats
()
docs/lib/community-stats.ts:80
↓ 1 callers
Function
fetchInserted
(trx: any)
packages/kysely-adapter/src/kysely-adapter.ts:239
↓ 1 callers
Function
fetchInserted
(tx: DB)
packages/drizzle-adapter/src/drizzle-adapter.ts:267
↓ 1 callers
Function
fetchInserted
(tx: DB)
packages/drizzle-adapter/src/relations-v2/index.ts:415
↓ 1 callers
Function
fetchJwks
( jwksFetch: JwksFetchOptions["jwksFetch"], )
packages/core/src/oauth2/verify.ts:209
↓ 1 callers
Function
fetchNpmDownloads
()
docs/lib/community-stats.ts:25
↓ 1 callers
Function
fetchNpmWeeklyHistory
()
docs/lib/community-stats.ts:46
↓ 1 callers
Function
fetchOnMount
()
packages/better-auth/src/client/query.ts:161
↓ 1 callers
Function
fetchPR
( github: GitHubReader | undefined, prNumber: number, )
packages/release-tooling/src/release-notes/collect.ts:143
↓ 1 callers
Function
fetchReleaseBody
( github: GitHubReader | undefined, tag: string, )
packages/release-tooling/src/release-notes/collect.ts:166
↓ 1 callers
Function
fetchSessionOnMount
()
packages/better-auth/src/client/session-atom.ts:259
↓ 1 callers
Function
fetchUserInfo
( tokens: OAuth2Tokens, userInfoUrl: string | undefined, idTokenClaims?: JWTPayload, )
packages/better-auth/src/plugins/generic-oauth/index.ts:179
↓ 1 callers
Function
fetchUserinfo
(accessToken: string)
packages/oauth-provider/src/token.test.ts:1948
↓ 1 callers
Function
fillCheckoutSessionId
* Fill the Stripe "{CHECKOUT_SESSION_ID}" template variable in callbackURL. * @see https://docs.stripe.com/payments/checkout/custom-success-page?paym
packages/stripe/src/routes.ts:1689
↓ 1 callers
Function
filterClaimsRequestUserInfoClaims
( value: unknown, allowedUserInfoClaims: string[], )
packages/oauth-provider/src/claims-request.ts:93
↓ 1 callers
Function
filterPrivateEnv
(publicPrefix: string, privatePrefix: string)
packages/cli/src/utils/sveltekit-virtual-modules.ts:222
↓ 1 callers
Function
filterPublicEnv
(publicPrefix: string, privatePrefix: string)
packages/cli/src/utils/sveltekit-virtual-modules.ts:232
↓ 1 callers
Function
filterResources
(activeTag: string | null)
docs/components/resource-section.tsx:23
↓ 1 callers
Function
filterSSOProviderAdditionalFields
(provider: T, options?: SSOOptions)
packages/sso/src/routes/providers.ts:381
↓ 1 callers
Function
finalizeSCIMUserPatch
( state: SCIMUserPatchState, document: Record<string, unknown>, )
packages/scim/src/user-patch.ts:1031
↓ 1 callers
Function
findApiKeyAndConfig
(ctx: HookEndpointContext)
packages/api-key/src/index.ts:150
↓ 1 callers
Function
findAttribute
( attributes: readonly SCIMAttributeName[], key: string, )
packages/scim/src/attribute-names.ts:37
↓ 1 callers
Function
findBinding
()
packages/scim/src/connection-state.ts:34
↓ 1 callers
Function
findByIdentifier
(id: string)
packages/better-auth/src/db/internal-adapter.ts:1421
↓ 1 callers
Function
findByReference
(value: string | null)
packages/oauth-provider/src/utils/index.ts:1196
↓ 1 callers
Function
findByUserCode
(value: string)
packages/better-auth/src/plugins/device-authorization/routes.ts:88
↓ 1 callers
Function
findCandidates
(model: CustomerType)
packages/stripe/src/hooks.ts:23
↓ 1 callers
Function
findChallengeRow
The verification row behind the challenge cookie in `challengeHeaders`.
packages/better-auth/src/plugins/two-factor/two-factor.security.test.ts:476
↓ 1 callers
Function
findChangesetSourcePR
(id: string, ref: string)
packages/release-tooling/src/release-notes/collect.ts:224
↓ 1 callers
Function
findConnectionBinding
( database: Pick<DBAdapter, "findOne">, connectionId: string, )
packages/scim/src/connection-decommission.ts:85
↓ 1 callers
Function
findConsents
()
packages/oauth-provider/src/post-login.test.ts:233
↓ 1 callers
Function
findConsumedChangesets
( ref: string, previousTag: string, version: string, )
packages/release-tooling/src/release-notes/collect.ts:338
↓ 1 callers
Function
findCurrentChangesets
(ref: string)
packages/release-tooling/src/release-notes/collect.ts:359
↓ 1 callers
Function
findDeepLink
(argv: string[])
packages/electron/src/browser.ts:205
↓ 1 callers
Function
findDeletedChangesets
( parentRef: string, commitRef: string, )
packages/release-tooling/src/release-notes/collect.ts:277
↓ 1 callers
Function
findHintedSession
( ctx: GenericEndpointContext, sessionId: string, )
packages/oauth-provider/src/logout.ts:584
↓ 1 callers
Function
findMany
(input)
packages/scim/src/scim-read-limits.test.ts:43
↓ 1 callers
Function
findMarker
(nodes: Html[], marker: string)
packages/release-tooling/src/release-notes/comment.ts:40
↓ 1 callers
Function
findMembership
( instance: Instance, organizationId: string, userId: string, )
packages/sso/src/linking/org-assignment.security.test.ts:185
↓ 1 callers
Function
findMonorepoRoot
( startDir: string, )
packages/cli/src/utils/get-package-info.ts:208
↓ 1 callers
Function
findObjectIdModels
( dataModel: PrismaRuntimeDataModel | undefined, )
packages/prisma-adapter/src/schema-check.ts:56
↓ 1 callers
Function
findOne
(query)
packages/sso/src/saml.test.ts:9152
↓ 1 callers
Function
findOrCreateConnectionBinding
( database: Pick<DBAdapter, "create" | "findOne">, connectionId: string, provisioningDomainId?: string, )
packages/scim/src/connection-decommission.ts:61
↓ 1 callers
Function
findPackageVersion
( resolvedPath: string, packageName: string, )
packages/cli/src/utils/get-package-info.ts:39
↓ 1 callers
Function
findPackageVersionInNodeModules
( packageName: string, projectDirectory: string, )
packages/cli/src/utils/get-package-info.ts:61
↓ 1 callers
Function
findPendingChangesets
(ref: string)
packages/release-tooling/src/release-notes/collect.ts:255
↓ 1 callers
Function
findProjectFrame
* The first stack frame in the project outside node_modules, so a config that * throws can point at the user's own line.
packages/cli/src/utils/get-config.ts:315
↓ 1 callers
Function
findReferenceByStripeCustomerId
* Find organization or user by stripeCustomerId. * @internal
packages/stripe/src/hooks.ts:18
↓ 1 callers
Function
findSAMLSessionRecord
( ctx: AuthContext, identifier: string, isOwnRecord: (record: Verification) => boolean, )
packages/sso/src/index.ts:246
↓ 1 callers
Function
findSCIMUserByExternalIdKey
( adapter: Pick<DBAdapter, "findOne">, connection: SCIMConnection, externalIdKey: string, )
packages/scim/src/user-provisioning.ts:220
↓ 1 callers
Function
findTopLevelFilterOperation
( filter: string, )
packages/scim/src/collection-query.ts:306
↓ 1 callers
Function
findUnreleasedVersionCommit
( version: string, ref: string, )
packages/release-tooling/src/release-notes/collect.ts:327
↓ 1 callers
Method
findVerificationValue
( identifier: string, )
demo/nextjs/lib/scim-demo-employee.ts:97
↓ 1 callers
Function
findVerifiedDomainProviders
( ctx: GenericEndpointContext, domain: string, )
packages/sso/src/linking/org-assignment.ts:70
↓ 1 callers
Function
findViolations
(file: string)
test/unit/no-multi-clause-adapter-update.test.ts:146
↓ 1 callers
Function
findWhereValue
(where: readonly Where[], field: string)
packages/scim/src/scim-group-patch-delta.test.ts:28
↓ 1 callers
Function
findWhereValue
(where: readonly Where[], field: string)
packages/scim/src/scim-user-concurrency.test.ts:72
↓ 1 callers
Function
finish
(_findings: SchemaFinding[])
packages/core/src/db/schema-check.test.ts:53
↓ 1 callers
Function
finish
(_findings: SchemaFinding[])
packages/better-auth/src/auth/schema-check.test.ts:105
↓ 1 callers
Function
fixtureAtomClient
()
e2e/smoke/test/fixtures/tsconfig-composite-client/packages/app/lib/auth-client.ts:41
↓ 1 callers
Function
flakyDiscovery
(providerId: string)
packages/better-auth/src/plugins/generic-oauth/generic-oauth.test.ts:5944
↓ 1 callers
Function
flattenSqlChunks
Every chunk of an SQL expression, descending into nested SQL.
packages/drizzle-adapter/src/drizzle-adapter.test.ts:587
↓ 1 callers
Function
fmt
(d: Date)
docs/lib/community-stats.ts:51
↓ 1 callers
Function
fold
(value: string)
packages/better-auth/src/plugins/email-otp/email-otp.test.ts:663
↓ 1 callers
Function
forgeIdToken
()
packages/better-auth/src/plugins/generic-oauth/generic-oauth.test.ts:4939
↓ 1 callers
Function
forgetPasswordEmailOTP
(opts: RequiredEmailOTPOptions)
packages/better-auth/src/plugins/email-otp/routes.ts:807
↓ 1 callers
Function
forgetSerializedAttributes
()
packages/scim/src/scim-user-patch.test.ts:1054
↓ 1 callers
Function
formBody
(body: unknown)
packages/core/src/social-providers/paypal.test.ts:48
↓ 1 callers
Function
formBody
(body: unknown)
packages/core/src/social-providers/reddit.test.ts:24
↓ 1 callers
Function
formEncode
(value: string)
packages/core/src/oauth2/private-key-jwt-authentication.test.ts:340
↓ 1 callers
Function
formUrlDecode
* Inverse of `formUrlEncode`: decodes a single `application/x-www-form-urlencoded` * value, handling both `+` and `%20` as space.
packages/core/src/oauth2/basic-credentials.ts:22
↓ 1 callers
Function
formUrlEncode
* Encodes a value using `application/x-www-form-urlencoded` per the URL * Living Standard. Differs from `encodeURIComponent` in two ways: it escapes
packages/core/src/oauth2/basic-credentials.ts:14
↓ 1 callers
Function
formatAction
(action: string)
packages/core/src/db/adapter/factory.ts:1677
↓ 1 callers
Function
formatActionLines
( entry: ReleaseEntry, migration: string | undefined, prLink: string, )
packages/release-tooling/src/release-notes/render.ts:40
↓ 1 callers
Function
formatConfigCode
(code: string)
packages/cli/src/commands/init/utility/auth-config.test.ts:7
↓ 1 callers
Function
formatCount
(num: number | null | undefined)
docs/components/landing/hero-readme.tsx:889
↓ 1 callers
Function
formatDate
(date: Date)
docs/components/blog/blog-left-panel.tsx:17
↓ 1 callers
Function
formatDate
(date: Date)
docs/app/blog/[[...slug]]/page.tsx:17
↓ 1 callers
Function
formatFallbackWarning
(fallbacks: ReleaseRewriteFallback[])
packages/release-tooling/src/release-notes/comment.ts:59
↓ 1 callers
Function
formatField
(field: DBFieldAttribute, ctx: CustomResolverContext)
docs/lib/copy-schema/dialects/mysql.ts:17
↓ 1 callers
Function
formatField
(field: DBFieldAttribute, ctx: CustomResolverContext)
docs/lib/copy-schema/dialects/sqlite.ts:17
↓ 1 callers
Function
formatField
(field: DBFieldAttribute, ctx: CustomResolverContext)
docs/lib/copy-schema/dialects/mssql.ts:17
↓ 1 callers
Function
formatField
(field: DBFieldAttribute, ctx: CustomResolverContext)
docs/lib/copy-schema/dialects/postgresql.ts:17
↓ 1 callers
Function
formatForeignKey
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/mysql.ts:39
↓ 1 callers
Function
formatForeignKey
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/sqlite.ts:36
↓ 1 callers
Function
formatForeignKey
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/mssql.ts:36
↓ 1 callers
Function
formatForeignKey
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/postgresql.ts:36
↓ 1 callers
Function
formatIndex
(field: DBFieldAttribute, tableName: string)
docs/lib/copy-schema/dialects/mysql.ts:57
↓ 1 callers
Function
formatIndex
(field: DBFieldAttribute, tableName: string)
docs/lib/copy-schema/dialects/sqlite.ts:47
↓ 1 callers
Function
formatIndex
(field: DBFieldAttribute, tableName: string)
docs/lib/copy-schema/dialects/mssql.ts:49
↓ 1 callers
Function
formatIndex
(field: DBFieldAttribute, tableName: string)
docs/lib/copy-schema/dialects/postgresql.ts:47
↓ 1 callers
Function
formatIndexedColumn
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/mysql.ts:52
↓ 1 callers
Function
formatMessage
( level: LogLevel, message: string, colorsEnabled: boolean, )
packages/core/src/env/logger.ts:73
↓ 1 callers
Function
formatMethod
(method: string)
packages/core/src/db/adapter/factory.ts:1673
↓ 1 callers
Function
formatNote
(note: string | undefined)
docs/lib/llm-text.ts:64
↓ 1 callers
Function
formatOutput
(data: any, indent = 0)
packages/cli/src/commands/info.ts:425
↓ 1 callers
Function
formatPluginCode
(code: string)
packages/cli/src/commands/init/utility/plugin.test.ts:9
↓ 1 callers
Function
formatPrLink
(entry: ReleaseEntry, repository: string)
packages/release-tooling/src/release-notes/render.ts:34
← previous
next →
2,601–2,700 of 6,486, ranked by callers