MCPcopy Create free account

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

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

↓ 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 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 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:1523
↓ 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
↓ 1 callersFunctionreadPatchString
(value: unknown, attribute: string)
packages/scim/src/group-provisioning.ts:358
↓ 1 callersFunctionreadPersistedAttributes
()
packages/scim/src/scim-enterprise-user.test.ts:1657
↓ 1 callersFunctionreadPersistentMutationState
( instance: Awaited<ReturnType<typeof createTestInstance>>["instance"], )
packages/scim/src/scim-active-normalization.test.ts:594
↓ 1 callersFunctionreadPrismaDataModel
( client: object, )
packages/prisma-adapter/src/schema-check.ts:34
↓ 1 callersFunctionreadRawTsconfigReferences
Reads `references` from raw tsconfig JSON (stripped out by `parseTsconfig`).
packages/cli/src/utils/get-config.ts:50
↓ 1 callersFunctionreadRelations
* Each field of a Prisma model with its `@relation` name and, on the side that * stores the foreign key, its `fields`. Prisma pairs the two sides by
packages/cli/src/generators/prisma.ts:37
↓ 1 callersFunctionreadReleaseManifest
(path: string)
packages/release-tooling/src/release-notes/render.ts:198
↓ 1 callersFunctionreadReleaseRewrites
( path: string, manifest: ReleaseManifest, )
packages/release-tooling/src/release-notes/render.ts:206
↓ 1 callersFunctionreadResource
( auth: Awaited<ReturnType<typeof bootWithResourcesOption>>["auth"], identifier: string, )
packages/oauth-provider/src/resources.test.ts:89
↓ 1 callersFunctionreadResourceAttributeNames
( resourceType: SCIMResourceType, )
packages/scim/src/attribute-names.ts:45
↓ 1 callersFunctionreadResourceId
(value: unknown)
e2e/integration/nextjs-demo/e2e/scim-demo.spec.ts:293
↓ 1 callersFunctionreadResponseCacheHeaders
( headers: Headers, )
packages/cimd/src/client-store.ts:181
↓ 1 callersFunctionreadRow
(key: string)
packages/better-auth/src/api/rate-limiter/index.ts:122
↓ 1 callersFunctionreadSCIMPathIdentifier
(identifier: string)
packages/scim/src/discovery.ts:62
↓ 1 callersFunctionreadSignInTwoFactorState
( ctx: GenericEndpointContext, trustDeviceMaxAge: number, )
packages/better-auth/src/plugins/two-factor/index.ts:66
↓ 1 callersFunctionreadSingleParam
(value: string | string[] | undefined)
demo/nextjs/app/scim-demo/employee/page.tsx:63
↓ 1 callersFunctionreadStringClaim
( claims: Record<string, unknown>, claim: string, )
packages/sso/src/routes/sso.ts:1515
↓ 1 callersFunctionreadTableMetadata
( db: Kysely<unknown>, name: string, )
packages/kysely-adapter/src/sqlite-introspector.ts:85
↓ 1 callersFunctionreadUser
(userId: string, expectedActive: boolean)
demo/nextjs/app/dashboard/scim/lifecycle-walkthrough.tsx:372
↓ 1 callersFunctionreadWorkflow
(name: string)
packages/release-tooling/test/release-workflows.test.ts:71
↓ 1 callersFunctionrearm
(count: number)
packages/better-auth/src/plugins/two-factor/verify-two-factor.ts:192
↓ 1 callersFunctionreconcileDecommissionedConnection
(input: { database: DBAdapter; auth: AuthContext; projection: SCIMProjectionCoordinator; identity: SCIMIde
packages/scim/src/connection-decommission.ts:239
↓ 1 callersFunctionreconcileProjectionDomain
(input: { database: DBAdapter; auth: AuthContext; projection: SCIMProjectionCoordinator; identity?: SCIMId
packages/scim/src/projection.ts:754
↓ 1 callersFunctionreconcileSCIMUserBatch
( options: SCIMOptions, input: { database: DBTransactionAdapter; auth: AuthContext; provisioningDomain
packages/scim/src/projection.ts:436
↓ 1 callersFunctionrecordFetchFailure
(clientId: string, failure: unknown)
packages/cimd/src/resolver.ts:466
↓ 1 callersFunctionrecordFetchSuccess
(clientId: string)
packages/cimd/src/resolver.ts:461
↓ 1 callersFunctionrecordJwksFetchFailure
( cache: JwksCache, cacheKey: string, failure: JwksFetchFailure | "transport-error" | null, sequence: numb
packages/oauth-provider/src/utils/client-assertion.ts:173
↓ 1 callersFunctionrecordOutput
(data: Buffer, write: (chunk: string) => void)
e2e/smoke/test/cloudflare.spec.ts:69
↓ 1 callersFunctionrecordTransientFailure
(clientId: string, failure: unknown)
packages/cimd/src/resolver.ts:477
↓ 1 callersFunctionredactSensitive
(value: unknown, sensitive = false)
packages/cli/src/commands/info.ts:231
↓ 1 callersFunctionredeem
(code: string, codeVerifier: string)
packages/oauth-provider/src/token.test.ts:6240
↓ 1 callersFunctionredeemDeviceCode
(input: { ctx: GenericEndpointContext; deviceCode: string; authorizeRedemption: ( deviceCode: DeviceCode
packages/better-auth/src/plugins/device-authorization/routes.ts:475
↓ 1 callersFunctionredirectCallback
( ctx: AuthContext, callbackURL: string, query?: Record<string, string> | undefined, )
packages/better-auth/src/api/routes/password.ts:29
↓ 1 callersFunctionredirectError
( ctx: AuthContext, callbackURL: string | undefined, query?: Record<string, string> | undefined, )
packages/better-auth/src/api/routes/password.ts:16
↓ 1 callersFunctionredirectFor
( maxAge: string, prompt?: string, clientId?: string, )
packages/oauth-provider/src/authorize.test.ts:549
↓ 1 callersFunctionredirectOIDCError
(error: string, description?: string)
packages/sso/src/routes/sso.ts:1326
↓ 1 callersFunctionredirectOnError
(error: { code: string; message: string })
packages/better-auth/src/api/routes/email-verification.ts:294
↓ 1 callersFunctionredirectOnError
(error: string, description?: string | undefined)
packages/better-auth/src/api/routes/callback.ts:138
↓ 1 callersFunctionredirectRefused
(endpoint: string)
packages/core/src/oauth2/reject-redirects.ts:22
↓ 1 callersFunctionredirectWithAuthorizationCode
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, verificationValue: { query: OAuthAuthorizatio
packages/oauth-provider/src/authorize.ts:1054
↓ 1 callersFunctionredirectWithError
( error: string, description?: string | undefined, )
packages/better-auth/src/plugins/magic-link/index.ts:374
↓ 1 callersFunctionredirectWithPromptCode
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, type: "login" | "create" | "consent" | "select_
packages/oauth-provider/src/authorize.ts:1103
↓ 1 callersFunctionredirectWithPromptNoneError
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, query: OAuthAuthorizationQuery, error: OAuthEr
packages/oauth-provider/src/authorize.ts:164
↓ 1 callersFunctionreducer
(state: State, action: Action)
demo/nextjs/hooks/use-toast.ts:74
↓ 1 callersFunctionref
()
packages/core/src/context/request-state.ts:75
↓ 1 callersFunctionrefetchClientJwks
* Refetch JWKS from jwks_uri when signature verification fails with cached keys. * Handles key rotation: the client may have published a new key that
packages/oauth-provider/src/utils/client-assertion.ts:700
← previousnext →3,701–3,800 of 6,712, ranked by callers