MCPcopy Create free account

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

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

↓ 2 callersFunctionfetchRefusingRedirects
( url: string, options?: BetterFetchOption, )
packages/core/src/oauth2/reject-redirects.ts:35
↓ 2 callersFunctionfetchUserImage
( baseURL: string | undefined, url: string, options?: Pick<ElectronClientOptions, "userImageProxy"> | undef
packages/electron/src/user.ts:17
↓ 2 callersMethodfindAccountOwnerByKey
(accountKey: AccountKey)
packages/core/src/types/context.ts:214
↓ 2 callersFunctionfindConsent
( ctx: GenericEndpointContext, clientId: string, userId: string, referenceId: string | undefined, )
packages/oauth-provider/src/utils/index.ts:1244
↓ 2 callersFunctionfindDeviceCodeByUserCode
* Preserve exact custom user codes, and normalize only default-alphabet codes.
packages/better-auth/src/plugins/device-authorization/routes.ts:84
↓ 2 callersFunctionfindInvalidTrustedProxies
(entries: string[])
packages/core/src/utils/ip.ts:300
↓ 2 callersFunctionfindJwtPlugin
(ctx: AuthContext)
packages/oauth-provider/src/utils/index.ts:107
↓ 2 callersFunctionfindManagedConnectionByCreationRequestId
( database: Pick<DBAdapter, "findOne">, creationRequestId: string, )
packages/scim/src/managed-connections.ts:353
↓ 2 callersFunctionfindNode
(obj: unknown, nodeName: string)
packages/sso/src/saml/parser.ts:10
↓ 2 callersFunctionfindOne
(query)
packages/sso/src/saml.test.ts:9152
↓ 2 callersFunctionfindOne
( query: Parameters<typeof base.findOne>[0], )
packages/better-auth/src/plugins/email-otp/email-otp.test.ts:679
↓ 2 callersFunctionfindOrCreateSCIMConnectionBinding
( database: Pick<DBAdapter, "create" | "findOne">, connectionId: string, provisioningDomainId: string | und
packages/scim/src/connection-state.ts:19
↓ 2 callersFunctionfindPatchAttribute
( attributes: readonly SCIMPatchAttributeDescriptor[], name: string, )
packages/scim/src/user-patch.ts:390
↓ 2 callersFunctionfindPrismaSchemaProblems
( dataModel: PrismaRuntimeDataModel, options: BetterAuthOptions, usePlural?: boolean | undefined, )
packages/prisma-adapter/src/schema-check.ts:96
↓ 2 callersFunctionfindRegisteredRedirectUri
* Finds the matching entry in a client's registered redirect URIs. * * For clients that are not `web`, registration limits loopback redirects to *
packages/oauth-provider/src/authorize.ts:318
↓ 2 callersFunctionfindSCIMGroupMemberships
( database: DBTransactionAdapter, scimUserIds: readonly string[], )
packages/scim/src/projection.ts:75
↓ 2 callersFunctionfindSCIMGroups
( database: DBTransactionAdapter, groupIds: readonly string[], )
packages/scim/src/projection.ts:92
↓ 2 callersFunctionfindSCIMProjectionDomainBatch
(input: { database: Pick<DBAdapter, "findMany">; provisioningDomainId: string; cursorUserId?: string | null
packages/scim/src/projection.ts:667
↓ 2 callersFunctionfindSCIMUsersByIds
( adapter: Pick<DBAdapter, "findMany">, connectionId: string, scimUserIds: readonly string[], )
packages/scim/src/group-provisioning.ts:766
↓ 2 callersFunctionfindSCIMUsersForMemberships
( adapter: Pick<DBAdapter, "findMany">, connectionId: string, memberships: readonly SCIMGroupMember[], )
packages/scim/src/group-provisioning.ts:756
↓ 2 callersFunctionfindSchemaProblems
( db: Kysely<unknown>, dbType: KyselyDatabaseType | undefined, expected: ExpectedSchema, )
packages/kysely-adapter/src/schema-check.ts:204
↓ 2 callersFunctionfindTeamMemberByKeyOrPair
( adapter: DBTransactionAdapter, data: { teamId: string; userId: string; membershipKey: string; }, )
packages/better-auth/src/plugins/organization/adapter.ts:47
↓ 2 callersFunctionfindVersionCommit
( ref: string, previousTag: string, version: string, )
packages/release-tooling/src/release-notes/collect.ts:308
↓ 2 callersFunctionfindWhereValue
(where: readonly Where[], field: string)
packages/scim/src/scim-group-cardinality.test.ts:49
↓ 2 callersFunctionfn
(data)
packages/better-auth/src/db/internal-adapter.ts:875
↓ 2 callersFunctionformatAdapterLabel
(adapter: DatabaseAdapter)
packages/cli/src/commands/init/utility/database.ts:67
↓ 2 callersFunctionformatEnvelope
(version: number, ciphertext: string)
packages/better-auth/src/crypto/index.ts:31
↓ 2 callersFunctionformatErrorDescription
* Fits a runtime error message into RFC 6750 §3's `error_description` * character set instead of failing the response it describes: `"` becomes * `'
packages/oauth-provider/src/resource-challenge.ts:37
↓ 2 callersFunctionformatNumber
(num: number)
docs/app/community/community-client.tsx:127
↓ 2 callersFunctiongenerateBackupCodes
( secret: string | SecretConfig, options?: BackupCodeOptions | undefined, )
packages/better-auth/src/plugins/two-factor/backup-codes/index.ts:90
↓ 2 callersFunctiongenerateInnerAuthConfigCode
({ database, plugins, appName, baseURL, emailAndPassword, socialProviders, options, installDependency,
packages/cli/src/commands/init/utility/auth-config.ts:21
↓ 2 callersFunctiongenerateOpaqueValue
()
demo/nextjs/lib/scim-demo-employee.ts:111
↓ 2 callersMethodgenerateToken
* Creates a signed URL token for a video. * @returns The signed token that was created. * @throws {InternalError} if the signing key cannot be ret
e2e/smoke/test/fixtures/cloudflare/worker-configuration.d.ts:15500
↓ 2 callersFunctiongeneratedCoverUrl
( title: string, date: Date | undefined, theme: "light" | "dark", )
docs/app/blog/[[...slug]]/page.tsx:25
↓ 2 callersFunctiongenerator
(ctx: AuthContext, options: BetterAuthOptions)
packages/better-auth/src/plugins/open-api/generator.ts:892
↓ 2 callersFunctionget
(identifier: string)
packages/better-auth/src/plugins/test-utils/otp-sink.ts:12
↓ 2 callersFunctiongetAccountCookie
(c: GenericEndpointContext)
packages/better-auth/src/cookies/session-store.ts:260
↓ 2 callersFunctiongetApiKey
( ctx: GenericEndpointContext, hashedKey: string, opts: PredefinedApiKeyOptions, )
packages/api-key/src/adapter.ts:370
↓ 2 callersFunctiongetApiKeyByIdFromStorage
* Get API key from secondary storage by ID
packages/api-key/src/adapter.ts:229
↓ 2 callersFunctiongetArgumentsPrompt
( options: Record<string, unknown>, plugins: PluginConfig[], target: "auth" | "authClient", )
packages/cli/src/commands/init/utility/prompt.ts:95
↓ 2 callersFunctiongetAssertionClockTolerance
(opts: OAuthOptions<Scope[]>)
packages/oauth-provider/src/utils/client-assertion.ts:356
↓ 2 callersFunctiongetAttribute
( attributes: readonly SchemaAttribute[], name: string, )
packages/scim/src/schema-conformance.test.ts:28
↓ 2 callersFunctiongetAuthClientPluginsCode
({ plugins, options = {}, installDependency, }: { plugins?: PluginConfig[]; options?: Record<string, unkn
packages/cli/src/commands/init/utility/plugin.ts:306
↓ 2 callersFunctiongetAuthPluginsCode
({ plugins, options = {}, installDependency, }: { plugins?: PluginConfig[]; options?: Record<string, unkn
packages/cli/src/commands/init/utility/plugin.ts:260
↓ 2 callersFunctiongetBackupCodes
( backupCodes: string, key: string | SecretConfig, options?: BackupCodeOptions | undefined, )
packages/better-auth/src/plugins/two-factor/backup-codes/index.ts:124
↓ 2 callersFunctiongetBaseAdapter
( options: BetterAuthOptions, handleDirectDatabase: ( options: BetterAuthOptions, ) => Promise<DBAdapter<
packages/better-auth/src/db/adapter-base.ts:7
↓ 2 callersFunctiongetBaseType
(type: any)
packages/better-auth/src/plugins/open-api/open-api.test.ts:822
↓ 2 callersFunctiongetBuiltinAsyncLocalStorage
()
packages/core/src/async_hooks/builtin.ts:1
↓ 2 callersFunctiongetClientIP
(req: Request)
docs/lib/ai-chat/rate-limit.ts:25
↓ 2 callersFunctiongetClientPublicEndpoint
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, clientId: string, )
packages/oauth-provider/src/oauthClient/endpoints.ts:68
↓ 2 callersFunctiongetColorDepth
()
packages/core/src/env/color-depth.ts:60
↓ 2 callersMethodgetCommitAuthors
(sha: string)
packages/release-tooling/src/github.ts:24
↓ 2 callersFunctiongetConfiguredIssuer
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/authorize.ts:203
↓ 2 callersFunctiongetConsentReferenceId
( opts: OAuthOptions<Scope[]>, context: Parameters< NonNullable<OAuthOptions<Scope[]>["postLogin"]>["conse
packages/oauth-provider/src/utils/index.ts:1229
↓ 2 callersFunctiongetCookie
(cookie: string | null)
packages/expo/src/client.ts:110
↓ 2 callersFunctiongetCookieCache
( request: Request | Headers, config?: | { cookiePrefix?: string; cookieName?: string; isSecur
packages/better-auth/src/cookies/index.ts:617
↓ 2 callersFunctiongetCookieCacheJwtIssuer
(ctx: GenericEndpointContext)
packages/better-auth/src/plugins/jwt/cookie-cache.ts:19
↓ 2 callersFunctiongetCookieHeader
(cookies: CookieJar)
packages/scim/src/scim-sso-http-e2e.test.ts:54
↓ 2 callersFunctiongetCurrentBrowserSession
( ctx: GenericEndpointContext, )
packages/oauth-provider/src/logout.ts:562
↓ 2 callersFunctiongetCurrentLogger
()
packages/core/src/env/logger.ts:149
↓ 2 callersFunctiongetCustomIdGenerator
(options: BetterAuthOptions)
packages/mongo-adapter/src/mongodb-adapter.ts:170
↓ 2 callersFunctiongetDefaultConfig
()
packages/api-key/src/routes/index.ts:52
↓ 2 callersFunctiongetDefaultSpecialRules
()
packages/better-auth/src/api/rate-limiter/index.ts:440
↓ 2 callersFunctiongetDeviceCodeOperation
(document: unknown)
packages/oauth-provider/src/device-code.test.ts:172
↓ 2 callersFunctiongetDirectoryUser
(userKey: SCIMDemoUserKey)
demo/nextjs/lib/scim-demo-oidc.ts:170
↓ 2 callersFunctiongetDpopProofJwt
( ctx: Pick<GenericEndpointContext, "headers">, )
packages/oauth-provider/src/dpop.ts:4
↓ 2 callersFunctiongetEnvFiles
(cwd: string)
packages/cli/src/commands/init/utility/env.ts:4
↓ 2 callersFunctiongetExpectedOrigins
( options: PasskeyOptions, ctx: GenericEndpointContext, clientDataJSON: unknown, )
packages/passkey/src/utils.ts:32
↓ 2 callersFunctiongetExtensionTokenEndpointAuthMethods
( opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/extensions.ts:314
↓ 2 callersFunctiongetFailedSSOAuthenticationResult
( error: unknown, )
packages/sso/src/user-resolution.ts:162
↓ 2 callersFunctiongetFocusableElements
()
docs/components/docs/docs-sidebar.tsx:103
↓ 2 callersFunctiongetGooglePublicKeys
(kid?: string)
packages/core/src/social-providers/google.ts:285
↓ 2 callersFunctiongetIPFromHeader
( value: string, options: { ipv6Subnet?: number; trustedProxies?: string[]; } = {}, )
packages/core/src/utils/ip.ts:310
↓ 2 callersFunctiongetIdTokenVerifyOptions
(options: { issuer?: (string | string[]) | undefined; audience: string | string[]; algorithms?: string[] |
packages/core/src/oauth2/verify-id-token.ts:29
↓ 2 callersFunctiongetIssuedOriginIdentifier
(state: string)
packages/expo/src/routes.ts:12
↓ 2 callersFunctiongetJoinRelationKey
( baseModel: string, joinModel: string, baseModelKey: string, joinModelKey: string, relati
packages/drizzle-adapter/src/drizzle-adapter.ts:769
↓ 2 callersFunctiongetJoinRelationKey
( baseModel: string, joinModel: string, baseModelKey: string, joinModelKey: string, relati
packages/drizzle-adapter/src/relations-v2/index.ts:350
↓ 2 callersFunctiongetJwksCacheKey
(client: SchemaClient<Scope[]>)
packages/oauth-provider/src/utils/client-assertion.ts:347
↓ 2 callersFunctiongetJwksForVerification
( token: string, opts: JwksFetchOptions, allowStale = false, )
packages/core/src/oauth2/verify.ts:440
↓ 2 callersFunctiongetJwksStaleIfErrorMs
(discovery: ClientDiscovery | undefined)
packages/oauth-provider/src/utils/client-assertion.ts:150
↓ 2 callersFunctiongetJwtPluginOptions
()
packages/oauth-provider/src/client-resource.ts:53
↓ 2 callersFunctiongetKyselyDatabaseType
( db: BetterAuthOptions["database"], )
packages/kysely-adapter/src/dialect.ts:13
↓ 2 callersFunctiongetLLMText
( docPage: InferPageType<typeof source>, version?: DocsVersion, )
docs/lib/llm-text.ts:101
↓ 2 callersFunctiongetLLMsIndex
( loader: typeof source, version?: DocsVersion, )
docs/lib/llm-text.ts:212
↓ 2 callersFunctiongetLLMsIndexTitle
(version?: DocsVersion)
docs/lib/llm-text.ts:127
↓ 2 callersFunctiongetLegacyMarkdownTarget
(slug: string[])
docs/lib/llm-text.ts:174
↓ 2 callersFunctiongetLoadedConfig
({ cwd, configPath, outputPath, shouldThrowOnError = false, }: ConfigInput)
packages/cli/src/utils/get-config.ts:393
↓ 2 callersFunctiongetLocalJwksSource
( context: AuthContext, request?: Request | undefined, )
packages/oauth-provider/src/utils/index.ts:167
↓ 2 callersFunctiongetMissingEnvVars
( envFiles: Map<string, string[]>, envVar: string | string[], )
packages/cli/src/commands/init/utility/env.ts:47
↓ 2 callersFunctiongetMssqlSchema
(db: Kysely<unknown>)
packages/kysely-adapter/src/schema-check.ts:111
↓ 2 callersFunctiongetOAuthProviderPlugin
(ctx: AuthContext)
packages/oauth-provider/src/utils/index.ts:101
↓ 2 callersFunctiongetORMFromAdapter
(adapter: DatabaseAdapter)
packages/cli/src/commands/init/utility/database.ts:28
↓ 2 callersFunctiongetOauthProviderPlugin
()
packages/oauth-provider/src/client-resource.ts:40
↓ 2 callersFunctiongetOperationId
(endpoint: Endpoint, fallback?: string)
packages/better-auth/src/api/dispatch.ts:66
↓ 2 callersFunctiongetOrCreateEndpointContextStorage
()
packages/core/src/context/endpoint-context.ts:21
↓ 2 callersFunctiongetOrganizationId
( params: Promise<{ organizationId: string }>, )
demo/nextjs/app/api/scim-demo/organizations/[organizationId]/connections/route.ts:35
↓ 2 callersFunctiongetOtherSlot
(slot: ChunkSlot)
packages/expo/src/client-storage.ts:127
↓ 2 callersFunctiongetPackageVersion
(pkg: string)
packages/telemetry/src/node.ts:44
↓ 2 callersFunctiongetPackageVersion
( _pkg: string, )
packages/telemetry/src/utils/package-json.ts:5
↓ 2 callersFunctiongetPasskeyActions
( $fetch: BetterFetch, { $listPasskeys, $store, }: { $listPasskeys: ReturnType<typeof atom<any>>; $
packages/passkey/src/client.ts:35
← previousnext →1,201–1,300 of 6,653, ranked by callers