MCPcopy Create free account

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

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

↓ 1 callersFunctionparseSCIMClassicPagination
Parse and normalize RFC 7644 classic pagination parameters.
packages/scim/src/collection-query.ts:163
↓ 1 callersFunctionparseSCIMEqualityFilter
Parse the deliberately small P0 equality-filter grammar.
packages/scim/src/collection-query.ts:349
↓ 1 callersFunctionparseSCIMFilter
Parse the supported conjunction of case-insensitive equality expressions.
packages/scim/src/collection-query.ts:474
↓ 1 callersFunctionparseSessionInput
( options: BetterAuthOptions, session: Partial<Session>, action?: "create" | "update", )
packages/better-auth/src/db/schema.ts:258
↓ 1 callersFunctionparseSetCookieEntries
(header: string)
e2e/smoke/test/session-token-refresh.spec.ts:194
↓ 1 callersFunctionparseSiweMessage
(message: string)
packages/better-auth/src/plugins/siwe/parse-message.ts:35
↓ 1 callersFunctionparseXMLSchemaBoolean
(value: string | null)
packages/sso/src/saml/response-binding.ts:87
↓ 1 callersFunctionpartialFilterFor
(name: string)
packages/mongo-adapter/src/mongodb-adapter.test.ts:1029
↓ 1 callersFunctionpatch
(resourcePath: string, operations: unknown[])
packages/scim/src/scim-attribute-names.test.ts:101
↓ 1 callersFunctionpatch
(resourcePath: string, operations: unknown[])
packages/scim/src/scim-null-attributes.test.ts:101
↓ 1 callersFunctionpatchSCIMGroup
( authMiddleware: SCIMConnectionMiddleware, projection: SCIMProjectionCoordinator, )
packages/scim/src/group-provisioning.ts:1376
↓ 1 callersFunctionpatchSCIMUser
( authMiddleware: SCIMConnectionMiddleware, identity: SCIMIdentityCoordinator, projection: SCIMProjectionCo
packages/scim/src/user-provisioning.ts:1063
↓ 1 callersFunctionpatchUser
( auth: ReturnType<typeof createEntraFixture>["auth"], userId: string, operations: unknown[], )
packages/scim/src/scim-entra-conformance.test.ts:128
↓ 1 callersFunctionpathToMethodName
(path: string)
docs/lib/api-method.ts:218
↓ 1 callersFunctionpauseNextStorageRead
( backing: ReturnType<typeof createBackingStorage>, chunkKey: string, )
packages/expo/test/client-storage.test.ts:556
↓ 1 callersFunctionpaybin
(options: PaybinOptions)
packages/core/src/social-providers/paybin.ts:31
↓ 1 callersFunctionperformUpdate
()
packages/api-key/src/routes/verify-api-key.ts:423
↓ 1 callersFunctionpersistFetchedMetadata
({ metadata, nextEntry, fetchMark, }: FetchedMetadata)
packages/cimd/src/resolver.ts:902
↓ 1 callersFunctionpersistMetadataDocumentClient
( ctx: GenericEndpointContext, clientIdUrl: string, metadata: OAuthClientMetadata, cimdOptions: CimdOption
packages/cimd/src/client-store.ts:343
↓ 1 callersFunctionpersistRegistration
()
packages/passkey/src/routes.ts:769
↓ 1 callersFunctionpickSource
( input: EndpointInput | undefined, )
packages/better-auth/src/context/helpers.ts:189
↓ 1 callersFunctionpluginWithDisabledMigration
()
packages/cli/test/generate.test.ts:3059
↓ 1 callersFunctionpluginWithOmittedRequired
()
packages/cli/test/generate.test.ts:1355
↓ 1 callersFunctionpluginWithQuotedDefault
()
packages/cli/test/generate.test.ts:1405
↓ 1 callersFunctionpluginWithUniqueIndexedField
()
packages/cli/test/generate.test.ts:1444
↓ 1 callersFunctionpoll
(proof: string)
packages/oauth-provider/src/device-code.test.ts:345
↓ 1 callersFunctionpoll
()
packages/better-auth/src/plugins/device-authorization/device-authorization.test.ts:1089
↓ 1 callersFunctionpollDeviceToken
()
e2e/integration/vanilla-node/e2e/device-code.spec.ts:141
↓ 1 callersFunctionpollToken
(body: Record<string, string>)
packages/oauth-provider/src/device-code.test.ts:322
↓ 1 callersFunctionpopupError
( code: keyof typeof OAUTH_POPUP_ERROR_CODES, status?: number, )
packages/better-auth/src/plugins/oauth-popup/client.ts:124
↓ 1 callersFunctionpost
(cookie: string, body?: object)
packages/electron/test/electron.test.ts:994
↓ 1 callersFunctionpost
(path: string, init: RequestInit)
packages/better-auth/src/api/index.test.ts:360
↓ 1 callersFunctionpost
(origin: string, data: unknown)
packages/better-auth/src/plugins/oauth-popup/oauth-popup.client.test.ts:73
↓ 1 callersFunctionpostForm
(path: string, body: Record<string, string>)
packages/oauth-provider/src/oauth-endpoint.integration.test.ts:101
↓ 1 callersFunctionpostJson
(path: string, body: Record<string, unknown>)
packages/oauth-provider/src/oauth-endpoint.integration.test.ts:109
↓ 1 callersFunctionpostLogin
( ctx: GenericEndpointContext, authorize: AuthorizeEndpointCaller<Result>, )
packages/oauth-provider/src/continue.ts:72
↓ 1 callersFunctionpostgresDialect
()
packages/kysely-adapter/src/dialect.test.ts:51
↓ 1 callersFunctionprepareBackchannelLogoutPlan
* Build the immutable work plan before a session is deleted. This phase only * reads database state because a later delete hook may still veto the mu
packages/oauth-provider/src/logout.ts:130
↓ 1 callersFunctionprepareChatStep
({ stepNumber }: { stepNumber: number })
docs/lib/ai-chat/step.ts:1
↓ 1 callersFunctionprepareWorktree
(version: (typeof versionsToSync)[number])
docs/scripts/sync-versions.ts:70
↓ 1 callersFunctionpresentedScheme
( request: | Request | Pick<ResourceRequestInput, "authorizationHeader"> | undefined, )
packages/oauth-provider/src/resource-challenge.ts:73
↓ 1 callersFunctionpreserveExistingUser
(userId: string)
packages/scim/src/scim-identity-resolution.test.ts:147
↓ 1 callersFunctionprimaryRefinement
()
packages/scim/src/user-schemas.ts:42
↓ 1 callersFunctionprimarySubAttribute
()
packages/scim/src/user-schemas.ts:222
↓ 1 callersFunctionprimeLazyOpenTelemetryForTests
()
packages/core/src/instrumentation/instrumentation.test.ts:23
↓ 1 callersFunctionprintDebugLogs
()
packages/test-utils/src/adapter/create-test-suite.ts:377
↓ 1 callersFunctionprismaCode
({ provider, additionalOptions, }: { provider: "sqlite" | "mysql" | "postgresql"; additionalOptions?: Reco
packages/cli/src/commands/init/configs/databases.config.ts:37
↓ 1 callersFunctionprismaIndexMatches
( existing: PrismaIndexDefinition, configured: ResolvedDBTableIndex, )
packages/cli/src/generators/prisma.ts:126
↓ 1 callersFunctionprivateKeyJwtAuth
(kid: string)
packages/core/src/oauth2/private-key-jwt-authentication.test.ts:39
↓ 1 callersFunctionprocessArgument
( argument: GetArgumentsOptions, getArguments: GetArgumentsFn, functionName: string, )
packages/cli/src/commands/init/utility/plugin.ts:114
↓ 1 callersFunctionprocessArguments
( args: GetArgumentsOptions[], pluginDisplayName: string, )
packages/cli/src/commands/init/index.ts:1669
↓ 1 callersFunctionprocessNestedArguments
( nestedArguments: GetArgumentsOptions[], getArguments: GetArgumentsFn, )
packages/cli/src/commands/init/utility/plugin.ts:21
↓ 1 callersFunctionprocessSAMLResponse
( ctx: any, params: SAMLResponseParams, options?: SSOOptions, )
packages/sso/src/routes/saml-pipeline.ts:279
↓ 1 callersFunctionprofile
(subject: string, overrides: Partial<PayPalProfile> = {})
packages/core/src/social-providers/paypal.test.ts:21
↓ 1 callersFunctionprofileResponse
(profile: Record<string, unknown>)
packages/core/src/social-providers/wechat.test.ts:18
↓ 1 callersFunctionprofileResponse
(profile: Record<string, unknown>)
packages/core/src/social-providers/reddit.test.ts:18
↓ 1 callersFunctionprofileResponse
(profile: Record<string, unknown>)
packages/core/src/social-providers/facebook.test.ts:29
↓ 1 callersFunctionproofFor
(htu = `${baseURL}/api/auth/oauth2/token`)
packages/oauth-provider/src/device-code.test.ts:336
↓ 1 callersFunctionproviderWith
( idToken: OAuthIdTokenConfig | undefined, options: Record<string, unknown> = {}, )
packages/core/src/oauth2/verify-id-token.test.ts:42
↓ 1 callersFunctionproviders
()
packages/sso/src/domain-verification.test.ts:1108
↓ 1 callersFunctionprovisionKey
* Helper: provisions a JWK with a specific algorithm by directly inserting * into the `jwks` table. Returns the inserted row's `id` so tests can * r
packages/better-auth/src/plugins/jwt/sign-overrides.test.ts:26
↓ 1 callersFunctionprovisionKey
* Helper: provisions a JWK row directly with optional overrides. Unlike the * counterpart in `sign-overrides.test.ts`, this one accepts overrides for
packages/better-auth/src/plugins/jwt/multi-alg.test.ts:25
↓ 1 callersFunctionprovisionSCIMUser
( token: string, userName: string, )
packages/scim/src/scim-sso-http-e2e.test.ts:239
↓ 1 callersFunctionproxied
(message: string)
packages/core/src/db/errors.test.ts:136
↓ 1 callersFunctionproxy
(authorizationURL: string)
packages/expo/test/expo.test.ts:1763
↓ 1 callersFunctionpruneMemoryStore
()
packages/better-auth/src/api/rate-limiter/index.ts:23
↓ 1 callersFunctionpublicSessionMiddleware
(opts: OAuthOptions<Scope[]>)
packages/oauth-provider/src/middleware/index.ts:5
↓ 1 callersFunctionpublishDocument
( clientId: string, fields: Record<string, unknown>, )
packages/cimd/src/cimd.test.ts:715
↓ 1 callersFunctionqueryValue
(value: unknown)
packages/sso/src/saml.test.ts:575
↓ 1 callersFunctionrandomNonce
()
packages/better-auth/src/plugins/oauth-popup/client.ts:144
↓ 1 callersFunctionrateLimitResponse
(retryAfter: number)
packages/better-auth/src/api/rate-limiter/index.ts:94
↓ 1 callersFunctionrawCondition
(w: Where, field: string)
packages/drizzle-adapter/src/relations-v2/index.ts:572
↓ 1 callersFunctionrawDecrypt
(secret: string, hex: string)
packages/better-auth/src/crypto/index.ts:47
↓ 1 callersFunctionrawEncrypt
(secret: string, data: string)
packages/better-auth/src/crypto/index.ts:40
↓ 1 callersFunctionreadBodyWithLimit
( response: Response, maximumBytes: number, signal: AbortSignal, )
packages/cimd/src/client-store.ts:126
↓ 1 callersFunctionreadBoundedResponseBody
Resolves to `null` when the body exceeds 64 KiB.
packages/oauth-provider/src/utils/client-assertion.ts:481
↓ 1 callersFunctionreadCacheEntry
(clientId: string)
packages/cimd/src/resolver.ts:443
↓ 1 callersFunctionreadCatalogSnapshot
( databasePath: string, provisioningDomainId: string, )
e2e/integration/nextjs-demo/e2e/scim-demo.spec.ts:305
↓ 1 callersFunctionreadChunks
( storage: Pick<ExpoClientStorage, "getItem">, key: string, marker: ChunkMarker, )
packages/expo/src/client-storage.ts:140
↓ 1 callersFunctionreadChunksAsync
( storage: Pick<ExpoClientStorage, "getItemAsync">, key: string, marker: ChunkMarker, )
packages/expo/src/client-storage.ts:156
↓ 1 callersFunctionreadClient
(clientId: string)
packages/cimd/src/metadata-refresh.test.ts:81
↓ 1 callersFunctionreadClient
(clientId: string)
e2e/adapter/test/adapter-factory/cimd-refresh-test-suite.ts:96
↓ 1 callersFunctionreadClientTokenRevocation
(clientId: string)
packages/oauth-provider/src/backchannel-logout.test.ts:379
↓ 1 callersFunctionreadCookie
(cookieHeader: string | null, name: string)
demo/nextjs/lib/scim-demo-employee.ts:644
↓ 1 callersFunctionreadDatabaseSecuritySnapshot
(databasePath: string)
e2e/integration/nextjs-demo/e2e/scim-demo.spec.ts:336
↓ 1 callersFunctionreadDirective
(value: string, directive: string)
docs/lib/api-method.ts:84
↓ 1 callersFunctionreadEmailClaim
(claims: Record<string, unknown>)
packages/sso/src/routes/sso.ts:1577
↓ 1 callersFunctionreadExistingChunks
* Read all existing chunks from cookies
packages/better-auth/src/cookies/session-store.ts:65
↓ 1 callersFunctionreadFileFromRef
(path: string, branch: string)
packages/release-tooling/src/release-notes/collect.ts:38
↓ 1 callersFunctionreadGroup
(groupId: string, expectedMemberIds: string[])
demo/nextjs/app/dashboard/scim/lifecycle-walkthrough.tsx:382
↓ 1 callersFunctionreadInstructions
(url: URL)
packages/release-tooling/src/release-notes/rewrite.ts:37
↓ 1 callersFunctionreadIssuedCredential
(response: { json(): Promise<unknown>; })
e2e/integration/nextjs-demo/e2e/scim-demo.spec.ts:248
↓ 1 callersFunctionreadJSON
(response: Response)
packages/scim/src/scim-active-normalization.test.ts:534
↓ 1 callersFunctionreadJSON
(response: Response)
packages/scim/src/scim-enterprise-user.test.ts:162
↓ 1 callersFunctionreadJson
(response: Response)
packages/scim/src/scim-http-contract.test.ts:92
↓ 1 callersFunctionreadJwksCache
( cache: JwksCache, cacheKey: string, )
packages/oauth-provider/src/utils/client-assertion.ts:144
↓ 1 callersFunctionreadListsAsArrays
(model: string, row: T)
packages/oauth-provider/src/device-code.test.ts:2041
↓ 1 callersFunctionreadName
(value: unknown)
packages/scim/src/user-patch.ts:176
↓ 1 callersFunctionreadOrCreateOriginFetchState
( origin: string, nowMs: number, )
packages/cimd/src/resolver.ts:560
↓ 1 callersFunctionreadPackageVersion
(ref: string)
packages/release-tooling/src/release-notes/collect.ts:269
← previousnext →3,701–3,800 of 6,819, ranked by callers