MCPcopy Create free account

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

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

↓ 1 callersFunctioncreateMockDb
()
packages/mongo-adapter/src/mongodb-adapter.test.ts:663
↓ 1 callersFunctioncreateMockDiscoveryDocument
( overrides: Partial<OIDCDiscoveryDocument> = {}, )
packages/sso/src/oidc/discovery.test.ts:43
↓ 1 callersFunctioncreateMockSAMLIdP
(port: number, options: MockIdPOptions = {})
packages/sso/src/saml.test.ts:488
↓ 1 callersFunctioncreateMockStorage
()
packages/expo/test/last-login-method.test.ts:7
↓ 1 callersFunctioncreateMockStorage
()
packages/better-auth/src/db/internal-adapter.test.ts:1824
↓ 1 callersFunctioncreateModel
(text: string)
packages/release-tooling/test/generate-structured.test.ts:6
↓ 1 callersFunctioncreateModule
()
packages/cli/src/utils/cloudflare-virtual-modules.ts:20
↓ 1 callersFunctioncreateMutationOrderMemoryAdapter
( data: MemoryDB & { scimSubject: SCIMSubject[] }, operations: string[], )
packages/scim/src/scim-group-patch-delta.test.ts:110
↓ 1 callersFunctioncreateMysqlConsumeDb
(driverResult: unknown)
packages/drizzle-adapter/src/drizzle-adapter.test.ts:476
↓ 1 callersFunctioncreateNegotiatedMarkdownResponse
( content: string, init: ResponseInit = {}, )
docs/lib/markdown-response.ts:10
↓ 1 callersFunctioncreateNextDemoRuntime
()
e2e/integration/nextjs-demo/e2e/scim-demo.spec.ts:58
↓ 1 callersFunctioncreateNoReferenceTestInstance
()
packages/oauth-provider/src/post-login.test.ts:167
↓ 1 callersFunctioncreateNoopOpenTelemetryAPI
()
packages/core/src/instrumentation/noop.ts:62
↓ 1 callersFunctioncreateNoopSpan
()
packages/core/src/instrumentation/noop.ts:8
↓ 1 callersFunctioncreateNoopTraceAPI
()
packages/core/src/instrumentation/noop.ts:50
↓ 1 callersFunctioncreateNoopTracer
(noopSpan: Span)
packages/core/src/instrumentation/noop.ts:21
↓ 1 callersFunctioncreateOAuthClient
()
packages/oauth-provider/src/token.test.ts:2306
↓ 1 callersFunctioncreateOAuthClientAdministrativeRegistration
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, input: CreateOAuthClientRegistrationInput, )
packages/oauth-provider/src/register.ts:1223
↓ 1 callersFunctioncreateOAuthClientAdministrativeResponse
( result: OAuthClientRegistrationResult, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/register.ts:1199
↓ 1 callersFunctioncreateOAuthClientProvider
(options?: { clientMetadataUrl?: string })
packages/mcp/src/mcp.test.ts:93
↓ 1 callersMethodcreateOAuthUser
( user: Omit<User, "id" | "createdAt" | "updatedAt">, account: Omit<Account, "userId" | "id" | "createdAt"
packages/core/src/types/context.ts:115
↓ 1 callersFunctioncreateOIDCProviderData
( userId: string, providerId: string, clientId: string, organizationId?: string, )
packages/sso/src/providers.test.ts:473
↓ 1 callersFunctioncreateOTPStore
()
packages/better-auth/src/plugins/test-utils/otp-sink.ts:5
↓ 1 callersFunctioncreateOpaqueAccessToken
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, user: User | undefined, client: SchemaClient<S
packages/oauth-provider/src/token.ts:510
↓ 1 callersFunctioncreateOrg
( overrides: Partial<{ id: string; name: string; slug: string }> = {}, )
packages/sso/src/linking/org-assignment.test.ts:90
↓ 1 callersFunctioncreateOrgRole
(options: O)
packages/better-auth/src/plugins/organization/routes/crud-access-control.ts:75
↓ 1 callersFunctioncreateOrgWithRole
(permission: Record<string, string[]>)
packages/better-auth/src/plugins/organization/has-permission.test.ts:50
↓ 1 callersFunctioncreateOrganization
(name: string, headers: Headers)
packages/sso/src/domain-verification.test.ts:90
↓ 1 callersFunctioncreateOrganization
(name: string, headers: Headers)
packages/sso/src/providers.test.ts:421
↓ 1 callersFunctioncreateOrganization
( options?: O | undefined, )
packages/better-auth/src/plugins/organization/routes/crud-org.ts:61
↓ 1 callersFunctioncreateOrganization
( request: APIRequestContext, baseURL: string, name: string, )
e2e/integration/nextjs-demo/e2e/scim-demo.spec.ts:215
↓ 1 callersFunctioncreateOrganizationFactory
(ctx: AuthContext)
packages/better-auth/src/plugins/test-utils/factories.ts:30
↓ 1 callersFunctioncreatePaginatedManagedConnectionEventsFixture
( registerCleanup: (cleanup: () => void | Promise<void>) => void, )
packages/scim/src/scim-managed-connections.test.ts:122
↓ 1 callersFunctioncreateParsedSecondaryStorage
( store: Map<string, unknown>, )
packages/better-auth/src/db/secondary-storage.test.ts:37
↓ 1 callersFunctioncreateParsedSecondaryStorage
( store: Map<string, unknown>, )
test/unit/magic-link-secondary-storage.test.ts:40
↓ 1 callersFunctioncreatePatchRaceAdapter
(data: UserDeletionData)
packages/scim/src/scim-user-concurrency.test.ts:266
↓ 1 callersFunctioncreatePinnedAdapter
()
e2e/adapter/test/kysely-adapter/adapter.kysely.mysql-serial-insert-id.test.ts:93
↓ 1 callersFunctioncreatePinnedAdapter
()
e2e/adapter/test/drizzle-adapter/adapter.drizzle.mysql-serial-pool.test.ts:116
↓ 1 callersFunctioncreatePooledConnection
* A pooled connection with MySQL's per-connection `LAST_INSERT_ID()` * semantics on top of a shared SQLite database. Every connection remembers * th
packages/kysely-adapter/src/with-returning-mysql-insert-id.test.ts:17
↓ 1 callersFunctioncreatePostLoginTestInstance
()
packages/oauth-provider/src/post-login.test.ts:14
↓ 1 callersFunctioncreatePostgresDialect
(tables: TableMetadata[] = [])
packages/better-auth/src/db/get-migration.test.ts:856
↓ 1 callersFunctioncreatePreParsedStorage
* Simulates a Redis client that auto-parses JSON (e.g. ioredis with * certain configurations). The `get` method returns a pre-parsed object * wh
packages/better-auth/src/db/internal-adapter.test.ts:2019
↓ 1 callersFunctioncreateProcessor
()
docs/components/markdown.tsx:63
↓ 1 callersFunctioncreateProject
(files: Record<string, string> = {})
packages/cli/test/exit-codes.test.ts:18
↓ 1 callersFunctioncreateProject
()
packages/cli/test/migrate-cli.test.ts:39
↓ 1 callersFunctioncreateProjectedGroupResources
( adapter: Pick<DBAdapter, "findMany">, baseURL: string, groups: readonly SCIMGroup[], projection: SCIMAtt
packages/scim/src/group-provisioning.ts:843
↓ 1 callersFunctioncreateProjectionGrantKey
(input: { connectionId: string; scimUserId: string; sourceKind: SCIMAuthorizationSource["type"]; sourceId:
packages/scim/src/projection.ts:183
↓ 1 callersFunctioncreateProof
( method: string, url: string, accessToken?: string, )
packages/oauth-provider/src/client-resource.test.ts:121
↓ 1 callersFunctioncreateProvider
(jwtPlugin = jwt())
packages/oauth-provider/src/local-jwks.test.ts:12
↓ 1 callersFunctioncreateProvider
( overrides: Partial<{ id: string; providerId: string; issuer: string; domain: string; domainVerifi
packages/sso/src/linking/org-assignment.test.ts:100
↓ 1 callersFunctioncreateProvider
( overrides: Partial<OAuthProvider<Record<string, unknown>>> = {}, )
packages/better-auth/src/oauth2/account-key.test.ts:5
↓ 1 callersFunctioncreateProviderLockAttemptObserver
()
packages/sso/src/providers.test.ts:169
↓ 1 callersFunctioncreateProvisionedFixture
(externalId: string)
packages/scim/src/scim-identity-resolution.test.ts:1104
↓ 1 callersFunctioncreateProxy
({ socialProviders }: (typeof cases)[number])
packages/expo/test/expo.test.ts:1909
↓ 1 callersMethodcreateQueryCompiler
()
packages/kysely-adapter/src/dialect.test.ts:40
↓ 1 callersFunctioncreateQueryCountingAdapter
(data: GroupListData)
packages/scim/src/scim-group-list-query.test.ts:34
↓ 1 callersFunctioncreateRateLimitSecondaryStorage
( store: Map<string, string>, expirationMap?: Map<string, number>, )
packages/better-auth/src/api/rate-limiter/rate-limiter.test.ts:7
↓ 1 callersFunctioncreateReconcileSCIMProjectionEndpoint
( options: SCIMOptions, projection: SCIMProjectionCoordinator, )
packages/scim/src/projection.ts:798
↓ 1 callersFunctioncreateRefreshToken
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, user: User, referenceId: string | undefined,
packages/oauth-provider/src/token.ts:670
↓ 1 callersFunctioncreateRegistrar
()
packages/cimd/src/stale-if-error.node.test.ts:76
↓ 1 callersFunctioncreateReleaseWithFollowUpCommit
(options: ReleaseFixtureOptions = {})
packages/release-tooling/test/release-collection.test.ts:201
↓ 1 callersFunctioncreateRequestContext
* One request-scoped runtime: its own database and its own endpoint context, * the way a runtime that builds the auth instance per request has them.
packages/cimd/src/coalescing.test.ts:56
↓ 1 callersFunctioncreateResourceEndpoint
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/oauthResource/endpoints.ts:77
↓ 1 callersFunctioncreateRewriteImportPathsPlugin
* Rewrites aliased specifiers at AST level. Required because jiti's `alias` * option only supports prefix matching and cannot express mid-path wildca
packages/cli/src/utils/get-config.ts:205
↓ 1 callersFunctioncreateRewriteUrl
(request: NextRequest, pathname: string)
docs/proxy.ts:14
↓ 1 callersFunctioncreateSAMLUserResolutionInstance
( options: SSOOptions, authOptions: Record<string, unknown> = {}, samlConfiguration: SAMLConfiguration =
packages/sso/src/saml.test.ts:6728
↓ 1 callersFunctioncreateSCIMAuth
( credentials: readonly SCIMBearerCredentialOptions[] = [ { type: "bearer", id: "active-scim-token", token:
packages/scim/src/scim-http-contract.test.ts:37
↓ 1 callersFunctioncreateSCIMConnectionMiddleware
(options: SCIMOptions)
packages/scim/src/connection-authentication.ts:174
↓ 1 callersFunctioncreateSCIMDemoConnectionCreationRequestId
( provisioningDomainId: string, )
demo/nextjs/lib/scim-demo-management.ts:63
↓ 1 callersFunctioncreateSCIMDemoEmployeeAccessGrant
( database: Pick<DBAdapter<Options>, "findOne" | "transaction">, store: Pick<SCIMDemoEmployeeVerificationSto
demo/nextjs/lib/scim-demo-employee.ts:420
↓ 1 callersFunctioncreateSCIMDemoOIDCManagementContext
( connectionId: string, )
demo/nextjs/lib/scim-demo-identity.ts:152
↓ 1 callersFunctioncreateSCIMDemoPlugin
()
demo/nextjs/lib/scim-demo.ts:71
↓ 1 callersFunctioncreateSCIMDemoUserEmail
( workspaceId: string, userKey: SCIMDemoUserKey, )
demo/nextjs/lib/scim-demo-identity.ts:204
↓ 1 callersFunctioncreateSCIMErrorResponse
( status: "BAD_REQUEST" | "UNSUPPORTED_MEDIA_TYPE" | "NOT_IMPLEMENTED", detail: string, scimType?: "invalid
packages/scim/src/index.ts:102
↓ 1 callersFunctioncreateSCIMGroup
( authMiddleware: SCIMConnectionMiddleware, projection: SCIMProjectionCoordinator, )
packages/scim/src/group-provisioning.ts:911
↓ 1 callersFunctioncreateSCIMHeaders
( authorization = `Bearer ${SCIM_TOKEN}`, )
packages/scim/src/scim-okta-conformance.test.ts:54
↓ 1 callersFunctioncreateSCIMHeaders
( authorization = `Bearer ${SCIM_TOKEN}`, )
packages/scim/src/scim-google-conformance.test.ts:48
↓ 1 callersFunctioncreateSCIMIdentityCoordinator
(options: SCIMOptions)
packages/scim/src/identity.ts:286
↓ 1 callersFunctioncreateSCIMManagedConnectionEndpoints
( configuredOptions: ResolvedManagedConnectionOptions | undefined, projection: SCIMProjectionCoordinator, i
packages/scim/src/managed-connections.ts:878
↓ 1 callersFunctioncreateSCIMPlugin
* Adds an inbound SCIM 2.0 service provider to Better Auth. * * Every configured connection owns an isolated set of SCIM resources. The * plugin do
packages/scim/src/index.ts:254
↓ 1 callersFunctioncreateSCIMPlugin
()
packages/scim/src/scim-sso-http-e2e.test.ts:129
↓ 1 callersFunctioncreateSCIMProjectionCoordinator
(options: SCIMOptions)
packages/scim/src/projection.ts:557
↓ 1 callersFunctioncreateSCIMRequest
( path: string, options: { method?: "GET" | "PATCH" | "POST" | "PUT"; token?: "partners-token" | "workfo
packages/scim/src/scim-enterprise-user.test.ts:138
↓ 1 callersFunctioncreateSCIMRequest
(baseURL: string, token: string)
packages/test-utils/src/scim-lifecycle.ts:142
↓ 1 callersFunctioncreateSCIMUser
( authMiddleware: SCIMConnectionMiddleware, identity: SCIMIdentityCoordinator, projection: SCIMProjectionCo
packages/scim/src/user-provisioning.ts:565
↓ 1 callersFunctioncreateSCIMUserPatchDocument
( user: SCIMUser, attributes: SCIMCanonicalUserAttributes, )
packages/scim/src/user-patch.ts:1012
↓ 1 callersFunctioncreateSIWEUser
(email: string)
packages/better-auth/src/plugins/siwe/index.ts:343
↓ 1 callersFunctioncreateSaveOrganization
(ctx: AuthContext)
packages/better-auth/src/plugins/test-utils/db-helpers.ts:17
↓ 1 callersFunctioncreateSaveUser
(ctx: AuthContext)
packages/better-auth/src/plugins/test-utils/db-helpers.ts:5
↓ 1 callersFunctioncreateSchema
(db: DatabaseSync)
packages/kysely-adapter/src/sqlite-dialect-mutations.test.ts:19
↓ 1 callersFunctioncreateSchema
(db: DatabaseSync)
packages/kysely-adapter/src/sqlite-introspector.test.ts:13
↓ 1 callersFunctioncreateSchema
(isClientSide: boolean)
packages/better-auth/src/db/to-zod.test.ts:40
↓ 1 callersFunctioncreateScriptedPoolDriver
* A driver that hands out connections from a fixed pool in a scripted * order, standing in for the mysql2 pool giving a released connection to * the
packages/kysely-adapter/src/with-returning-mysql-insert-id.test.ts:66
↓ 1 callersFunctioncreateSdkClientAndTransport
()
packages/mcp/src/mcp.test.ts:445
↓ 1 callersFunctioncreateSecondaryStorage
()
packages/oauth-provider/src/oauth.test.ts:59
↓ 1 callersFunctioncreateSecondaryStorage
()
packages/better-auth/src/plugins/email-otp/email-otp.attempts.test.ts:8
↓ 1 callersFunctioncreateSecondaryStorage
()
packages/better-auth/src/plugins/magic-link/purpose.test.ts:9
↓ 1 callersFunctioncreateServerBody
( properties: ApiMethodProperty[], method: ApiMethodHttpMethod, options: ApiMethodOptions, )
docs/lib/api-method.ts:313
↓ 1 callersFunctioncreateSession
(userId: string)
packages/scim/src/scim-identity-resolution.test.ts:52
↓ 1 callersFunctioncreateShader
(type: number, source: string)
docs/components/landing/line-field-bg.tsx:137
← previousnext →2,301–2,400 of 6,653, ranked by callers