MCPcopy Create free account

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

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

↓ 1 callersFunctionfetchClientJwks
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, client: SchemaClient<Scope[]>, )
packages/oauth-provider/src/utils/client-assertion.ts:239
↓ 1 callersFunctionfetchDiscovery
( url: string, headers?: Record<string, string>, timeout?: number, )
packages/better-auth/src/plugins/generic-oauth/index.ts:120
↓ 1 callersFunctionfetchGitHubStats
()
docs/lib/community-stats.ts:80
↓ 1 callersFunctionfetchInserted
(trx: any)
packages/kysely-adapter/src/kysely-adapter.ts:239
↓ 1 callersFunctionfetchInserted
(tx: DB)
packages/drizzle-adapter/src/drizzle-adapter.ts:267
↓ 1 callersFunctionfetchInserted
(tx: DB)
packages/drizzle-adapter/src/relations-v2/index.ts:415
↓ 1 callersFunctionfetchJwks
( jwksFetch: JwksFetchOptions["jwksFetch"], )
packages/core/src/oauth2/verify.ts:209
↓ 1 callersFunctionfetchNpmDownloads
()
docs/lib/community-stats.ts:25
↓ 1 callersFunctionfetchNpmWeeklyHistory
()
docs/lib/community-stats.ts:46
↓ 1 callersFunctionfetchOnMount
()
packages/better-auth/src/client/query.ts:161
↓ 1 callersFunctionfetchPR
( github: GitHubReader | undefined, prNumber: number, )
packages/release-tooling/src/release-notes/collect.ts:143
↓ 1 callersFunctionfetchReleaseBody
( github: GitHubReader | undefined, tag: string, )
packages/release-tooling/src/release-notes/collect.ts:166
↓ 1 callersFunctionfetchSessionOnMount
()
packages/better-auth/src/client/session-atom.ts:259
↓ 1 callersFunctionfetchUserInfo
( tokens: OAuth2Tokens, userInfoUrl: string | undefined, idTokenClaims?: JWTPayload, )
packages/better-auth/src/plugins/generic-oauth/index.ts:179
↓ 1 callersFunctionfetchUserinfo
(accessToken: string)
packages/oauth-provider/src/token.test.ts:1948
↓ 1 callersFunctionfillCheckoutSessionId
* 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 callersFunctionfilterClaimsRequestUserInfoClaims
( value: unknown, allowedUserInfoClaims: string[], )
packages/oauth-provider/src/claims-request.ts:93
↓ 1 callersFunctionfilterPrivateEnv
(publicPrefix: string, privatePrefix: string)
packages/cli/src/utils/sveltekit-virtual-modules.ts:222
↓ 1 callersFunctionfilterPublicEnv
(publicPrefix: string, privatePrefix: string)
packages/cli/src/utils/sveltekit-virtual-modules.ts:232
↓ 1 callersFunctionfilterResources
(activeTag: string | null)
docs/components/resource-section.tsx:23
↓ 1 callersFunctionfilterSSOProviderAdditionalFields
(provider: T, options?: SSOOptions)
packages/sso/src/routes/providers.ts:381
↓ 1 callersFunctionfinalizeSCIMUserPatch
( state: SCIMUserPatchState, document: Record<string, unknown>, )
packages/scim/src/user-patch.ts:1031
↓ 1 callersFunctionfindApiKeyAndConfig
(ctx: HookEndpointContext)
packages/api-key/src/index.ts:150
↓ 1 callersFunctionfindAttribute
( attributes: readonly SCIMAttributeName[], key: string, )
packages/scim/src/attribute-names.ts:37
↓ 1 callersFunctionfindBinding
()
packages/scim/src/connection-state.ts:34
↓ 1 callersFunctionfindByIdentifier
(id: string)
packages/better-auth/src/db/internal-adapter.ts:1421
↓ 1 callersFunctionfindByReference
(value: string | null)
packages/oauth-provider/src/utils/index.ts:1196
↓ 1 callersFunctionfindByUserCode
(value: string)
packages/better-auth/src/plugins/device-authorization/routes.ts:88
↓ 1 callersFunctionfindCandidates
(model: CustomerType)
packages/stripe/src/hooks.ts:23
↓ 1 callersFunctionfindChallengeRow
The verification row behind the challenge cookie in `challengeHeaders`.
packages/better-auth/src/plugins/two-factor/two-factor.security.test.ts:476
↓ 1 callersFunctionfindChangesetSourcePR
(id: string, ref: string)
packages/release-tooling/src/release-notes/collect.ts:224
↓ 1 callersFunctionfindConnectionBinding
( database: Pick<DBAdapter, "findOne">, connectionId: string, )
packages/scim/src/connection-decommission.ts:85
↓ 1 callersFunctionfindConsents
()
packages/oauth-provider/src/post-login.test.ts:233
↓ 1 callersFunctionfindConsumedChangesets
( ref: string, previousTag: string, version: string, )
packages/release-tooling/src/release-notes/collect.ts:338
↓ 1 callersFunctionfindCurrentChangesets
(ref: string)
packages/release-tooling/src/release-notes/collect.ts:359
↓ 1 callersFunctionfindDeepLink
(argv: string[])
packages/electron/src/browser.ts:205
↓ 1 callersFunctionfindDeletedChangesets
( parentRef: string, commitRef: string, )
packages/release-tooling/src/release-notes/collect.ts:277
↓ 1 callersFunctionfindHintedSession
( ctx: GenericEndpointContext, sessionId: string, )
packages/oauth-provider/src/logout.ts:584
↓ 1 callersFunctionfindMany
(input)
packages/scim/src/scim-read-limits.test.ts:43
↓ 1 callersFunctionfindMarker
(nodes: Html[], marker: string)
packages/release-tooling/src/release-notes/comment.ts:40
↓ 1 callersFunctionfindMembership
( instance: Instance, organizationId: string, userId: string, )
packages/sso/src/linking/org-assignment.security.test.ts:185
↓ 1 callersFunctionfindMonorepoRoot
( startDir: string, )
packages/cli/src/utils/get-package-info.ts:208
↓ 1 callersFunctionfindObjectIdModels
( dataModel: PrismaRuntimeDataModel | undefined, )
packages/prisma-adapter/src/schema-check.ts:56
↓ 1 callersFunctionfindOne
(query)
packages/sso/src/saml.test.ts:9152
↓ 1 callersFunctionfindOrCreateConnectionBinding
( database: Pick<DBAdapter, "create" | "findOne">, connectionId: string, provisioningDomainId?: string, )
packages/scim/src/connection-decommission.ts:61
↓ 1 callersFunctionfindPackageVersion
( resolvedPath: string, packageName: string, )
packages/cli/src/utils/get-package-info.ts:39
↓ 1 callersFunctionfindPackageVersionInNodeModules
( packageName: string, projectDirectory: string, )
packages/cli/src/utils/get-package-info.ts:61
↓ 1 callersFunctionfindPendingChangesets
(ref: string)
packages/release-tooling/src/release-notes/collect.ts:255
↓ 1 callersFunctionfindProjectFrame
* 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 callersFunctionfindReferenceByStripeCustomerId
* Find organization or user by stripeCustomerId. * @internal
packages/stripe/src/hooks.ts:18
↓ 1 callersFunctionfindSAMLSessionRecord
( ctx: AuthContext, identifier: string, isOwnRecord: (record: Verification) => boolean, )
packages/sso/src/index.ts:246
↓ 1 callersFunctionfindSCIMUserByExternalIdKey
( adapter: Pick<DBAdapter, "findOne">, connection: SCIMConnection, externalIdKey: string, )
packages/scim/src/user-provisioning.ts:220
↓ 1 callersFunctionfindTopLevelFilterOperation
( filter: string, )
packages/scim/src/collection-query.ts:306
↓ 1 callersFunctionfindUnreleasedVersionCommit
( version: string, ref: string, )
packages/release-tooling/src/release-notes/collect.ts:327
↓ 1 callersMethodfindVerificationValue
( identifier: string, )
demo/nextjs/lib/scim-demo-employee.ts:97
↓ 1 callersFunctionfindVerifiedDomainProviders
( ctx: GenericEndpointContext, domain: string, )
packages/sso/src/linking/org-assignment.ts:70
↓ 1 callersFunctionfindViolations
(file: string)
test/unit/no-multi-clause-adapter-update.test.ts:146
↓ 1 callersFunctionfindWhereValue
(where: readonly Where[], field: string)
packages/scim/src/scim-group-patch-delta.test.ts:28
↓ 1 callersFunctionfindWhereValue
(where: readonly Where[], field: string)
packages/scim/src/scim-user-concurrency.test.ts:72
↓ 1 callersFunctionfinish
(_findings: SchemaFinding[])
packages/core/src/db/schema-check.test.ts:53
↓ 1 callersFunctionfinish
(_findings: SchemaFinding[])
packages/better-auth/src/auth/schema-check.test.ts:105
↓ 1 callersFunctionfixtureAtomClient
()
e2e/smoke/test/fixtures/tsconfig-composite-client/packages/app/lib/auth-client.ts:41
↓ 1 callersFunctionflakyDiscovery
(providerId: string)
packages/better-auth/src/plugins/generic-oauth/generic-oauth.test.ts:5944
↓ 1 callersFunctionflattenSqlChunks
Every chunk of an SQL expression, descending into nested SQL.
packages/drizzle-adapter/src/drizzle-adapter.test.ts:587
↓ 1 callersFunctionfmt
(d: Date)
docs/lib/community-stats.ts:51
↓ 1 callersFunctionfold
(value: string)
packages/better-auth/src/plugins/email-otp/email-otp.test.ts:663
↓ 1 callersFunctionforgeIdToken
()
packages/better-auth/src/plugins/generic-oauth/generic-oauth.test.ts:4939
↓ 1 callersFunctionforgetPasswordEmailOTP
(opts: RequiredEmailOTPOptions)
packages/better-auth/src/plugins/email-otp/routes.ts:807
↓ 1 callersFunctionforgetSerializedAttributes
()
packages/scim/src/scim-user-patch.test.ts:1054
↓ 1 callersFunctionformBody
(body: unknown)
packages/core/src/social-providers/paypal.test.ts:48
↓ 1 callersFunctionformBody
(body: unknown)
packages/core/src/social-providers/reddit.test.ts:24
↓ 1 callersFunctionformEncode
(value: string)
packages/core/src/oauth2/private-key-jwt-authentication.test.ts:340
↓ 1 callersFunctionformUrlDecode
* 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 callersFunctionformUrlEncode
* 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 callersFunctionformatAction
(action: string)
packages/core/src/db/adapter/factory.ts:1677
↓ 1 callersFunctionformatActionLines
( entry: ReleaseEntry, migration: string | undefined, prLink: string, )
packages/release-tooling/src/release-notes/render.ts:40
↓ 1 callersFunctionformatConfigCode
(code: string)
packages/cli/src/commands/init/utility/auth-config.test.ts:7
↓ 1 callersFunctionformatCount
(num: number | null | undefined)
docs/components/landing/hero-readme.tsx:889
↓ 1 callersFunctionformatDate
(date: Date)
docs/components/blog/blog-left-panel.tsx:17
↓ 1 callersFunctionformatDate
(date: Date)
docs/app/blog/[[...slug]]/page.tsx:17
↓ 1 callersFunctionformatFallbackWarning
(fallbacks: ReleaseRewriteFallback[])
packages/release-tooling/src/release-notes/comment.ts:59
↓ 1 callersFunctionformatField
(field: DBFieldAttribute, ctx: CustomResolverContext)
docs/lib/copy-schema/dialects/mysql.ts:17
↓ 1 callersFunctionformatField
(field: DBFieldAttribute, ctx: CustomResolverContext)
docs/lib/copy-schema/dialects/sqlite.ts:17
↓ 1 callersFunctionformatField
(field: DBFieldAttribute, ctx: CustomResolverContext)
docs/lib/copy-schema/dialects/mssql.ts:17
↓ 1 callersFunctionformatField
(field: DBFieldAttribute, ctx: CustomResolverContext)
docs/lib/copy-schema/dialects/postgresql.ts:17
↓ 1 callersFunctionformatForeignKey
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/mysql.ts:39
↓ 1 callersFunctionformatForeignKey
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/sqlite.ts:36
↓ 1 callersFunctionformatForeignKey
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/mssql.ts:36
↓ 1 callersFunctionformatForeignKey
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/postgresql.ts:36
↓ 1 callersFunctionformatIndex
(field: DBFieldAttribute, tableName: string)
docs/lib/copy-schema/dialects/mysql.ts:57
↓ 1 callersFunctionformatIndex
(field: DBFieldAttribute, tableName: string)
docs/lib/copy-schema/dialects/sqlite.ts:47
↓ 1 callersFunctionformatIndex
(field: DBFieldAttribute, tableName: string)
docs/lib/copy-schema/dialects/mssql.ts:49
↓ 1 callersFunctionformatIndex
(field: DBFieldAttribute, tableName: string)
docs/lib/copy-schema/dialects/postgresql.ts:47
↓ 1 callersFunctionformatIndexedColumn
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/mysql.ts:52
↓ 1 callersFunctionformatMessage
( level: LogLevel, message: string, colorsEnabled: boolean, )
packages/core/src/env/logger.ts:73
↓ 1 callersFunctionformatMethod
(method: string)
packages/core/src/db/adapter/factory.ts:1673
↓ 1 callersFunctionformatNote
(note: string | undefined)
docs/lib/llm-text.ts:64
↓ 1 callersFunctionformatOutput
(data: any, indent = 0)
packages/cli/src/commands/info.ts:425
↓ 1 callersFunctionformatPluginCode
(code: string)
packages/cli/src/commands/init/utility/plugin.test.ts:9
↓ 1 callersFunctionformatPrLink
(entry: ReleaseEntry, repository: string)
packages/release-tooling/src/release-notes/render.ts:34
← previousnext →2,601–2,700 of 6,486, ranked by callers