MCPcopy Create free account

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

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

↓ 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:63
↓ 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:1569
↓ 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 callersFunctionreadVerification
()
packages/better-auth/src/db/internal-adapter.test.ts:2158
↓ 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:196
↓ 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 callersFunctionredactStorageError
(error: unknown, args: readonly unknown[])
packages/core/src/db/secondary-storage-errors.ts:389
↓ 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:1380
↓ 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:384
↓ 1 callersFunctionredirectWithPromptCode
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, type: "login" | "create" | "consent" | "select_
packages/oauth-provider/src/authorize.ts:1116
↓ 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
↓ 1 callersFunctionrefresh
(refreshToken: string, resources?: string[])
packages/oauth-provider/src/resource-binding.test.ts:149
↓ 1 callersFunctionrefresh
(failed: JSONWebKeySet)
packages/core/src/oauth2/verify.ts:486
↓ 1 callersFunctionrefreshAccessToken
(refreshToken: string)
packages/oauth-provider/src/userinfo.test.ts:191
↓ 1 callersFunctionrefreshTokenExists
( ctx: GenericEndpointContext, refreshId: string, )
packages/oauth-provider/src/token.ts:579
↓ 1 callersFunctionrefreshUserSessions
(user: User)
packages/better-auth/src/db/internal-adapter.ts:126
↓ 1 callersFunctionregister
(authorization?: string)
packages/oauth-provider/src/challenge-exposure.test.ts:37
↓ 1 callersFunctionregister
()
packages/sso/src/domain-verification.test.ts:1092
↓ 1 callersFunctionregister
(challenge: string, ceremony: CeremonyOptions)
packages/passkey/test/webauthn.ts:91
↓ 1 callersFunctionregister
(userVerified: boolean)
packages/passkey/src/passkey-user-verification.test.ts:29
↓ 1 callersFunctionregister
(opts: { aaguid: string; credentialID: string; name?: string; })
packages/passkey/src/passkey.test.ts:1617
↓ 1 callersFunctionregisterActiveOrganizationCleanup
(restoreWindow: () => void)
packages/better-auth/src/plugins/organization/organization.test.ts:2926
↓ 1 callersFunctionregisterBody
(providerId: string)
packages/sso/src/providers.test.ts:4042
↓ 1 callersFunctionregisterBody
(providerId: string)
packages/sso/src/saml.test.ts:1734
↓ 1 callersFunctionregisterClient
( overrides: Partial<{ enable_end_session: boolean; backchannel_logout_uri: string | undefined; bac
packages/oauth-provider/src/backchannel-logout.test.ts:260
↓ 1 callersFunctionregisterEndpoint
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/register.ts:354
↓ 1 callersFunctionregisterOrganizationProvider
* Creates an organization owned by the test user and an SSO provider that claims * `TEST_DOMAIN` for it.
packages/sso/src/linking/org-assignment.security.test.ts:63
↓ 1 callersFunctionregisterProtocolScheme
( $fetch: BetterFetch, options: ElectronClientOptions, getWindow: () => electron.BrowserWindow | null | und
packages/electron/src/browser.ts:149
↓ 1 callersFunctionregisterProvider
( providerId: string, domain: string, options: { audience?: string; issuer?: string; } = {}, )
packages/sso/src/domain-verification-concurrency.test.ts:63
↓ 1 callersFunctionregisterSAMLProvider
( headers: Headers, providerId: string, organizationId?: string, additionalFields?: Record<string,
packages/sso/src/providers.test.ts:447
↓ 1 callersFunctionregisterSSOProvider
( headers: Headers, organizationId?: string, )
packages/sso/src/domain-verification.test.ts:133
↓ 1 callersFunctionregisterSSOProvider
(options: O)
packages/sso/src/routes/sso.ts:210
↓ 1 callersFunctionregisterStore
(store: Store)
packages/better-auth/src/client/vue/vue-store.ts:11
↓ 1 callersFunctionregistrationBearerError
* Builds an RFC 6750 §3 Bearer challenge for the registration endpoint. The * `error` code maps to the status per RFC 6750 §3.1 (`invalid_request` →
packages/oauth-provider/src/utils/initial-access-token.ts:20
↓ 1 callersFunctionregistrationSourceFor
* How a registration that does not require a session started: from a * session, bound by its digest, or through `resolveUser`. Nothing is recorded *
packages/passkey/src/routes.ts:80
↓ 1 callersFunctionregistrationSourceMatches
( source: StoredChallengeValue["registrationSource"], sessionToken: string | undefined, )
packages/passkey/src/routes.ts:66
↓ 1 callersFunctionreindent
(code: string)
docs/components/markdown.tsx:89
↓ 1 callersFunctionrejectAuthentication
(detail: string)
packages/scim/src/connection-authentication.ts:190
↓ 1 callersFunctionrejectAuthorization
(authorizationHeader: string)
packages/oauth-provider/src/resource-challenge.test.ts:477
↓ 1 callersFunctionrejectCompromisedPassword
( password: string, customMessage?: string | undefined, )
packages/better-auth/src/plugins/haveibeenpwned/index.ts:86
↓ 1 callersFunctionrejectInvitation
(options: O)
packages/better-auth/src/plugins/organization/routes/crud-invites.ts:892
↓ 1 callersFunctionrejectNonObjectIds
( adapter: T, )
packages/oauth-provider/src/private-key-jwt.test.ts:1896
↓ 1 callersFunctionrejectNonObjectIds
( adapter: T, )
packages/better-auth/src/plugins/magic-link/magic-link.test.ts:1014
↓ 1 callersFunctionrejectNul
(where?: Where[])
packages/oauth-provider/src/token.test.ts:6619
↓ 1 callersFunctionrejectNullLists
(model: string, data: object)
packages/oauth-provider/src/device-code.test.ts:2034
↓ 1 callersFunctionrejectSCIMDemoSSOUser
()
demo/nextjs/lib/scim-demo-employee.ts:572
↓ 1 callersFunctionrejection
(promise: unknown)
packages/core/src/db/secondary-storage-errors.test.ts:36
↓ 1 callersFunctionrelease
()
packages/memory-adapter/src/memory-adapter.test.ts:550
↓ 1 callersFunctionreleaseAccountLink
()
packages/sso/src/providers.test.ts:3190
↓ 1 callersFunctionreleaseCheck
()
packages/better-auth/src/plugins/email-otp/email-otp.test.ts:3195
↓ 1 callersFunctionreleaseCheck
()
packages/better-auth/src/plugins/email-otp/email-otp.attempts.test.ts:306
↓ 1 callersFunctionreleaseCheck
()
packages/better-auth/src/plugins/two-factor/two-factor.test.ts:1978
↓ 1 callersFunctionreleaseCleanup
()
packages/better-auth/src/api/rate-limiter/rate-limiter.test.ts:410
↓ 1 callersFunctionreleaseDecommissionLease
(input: { database: DBAdapter; bindingId: string; leaseId: string; })
packages/scim/src/connection-decommission.ts:168
↓ 1 callersFunctionreleaseGate
()
packages/memory-adapter/src/memory-adapter.test.ts:320
↓ 1 callersFunctionreleaseTeamSeats
( adapter: DBTransactionAdapter, teamId: string, count: number, )
packages/better-auth/src/plugins/organization/adapter.ts:122
↓ 1 callersFunctionreleaseWrongGuesses
()
packages/better-auth/src/plugins/phone-number/phone-number.test.ts:939
↓ 1 callersFunctionremaining
(identifier: string)
packages/better-auth/src/db/internal-adapter.test.ts:397
↓ 1 callersFunctionremoteVerifyOptions
()
packages/core/src/oauth2/dpop.test.ts:71
↓ 1 callersFunctionremove
(key: string)
packages/core/src/db/secondary-storage-errors.test.ts:217
↓ 1 callersFunctionremoveActiveSession
(id: string)
demo/nextjs/app/dashboard/_components/user-card.tsx:75
↓ 1 callersFunctionremoveEmptyEnterpriseExtension
( document: Record<string, unknown>, )
packages/scim/src/user-patch.ts:611
↓ 1 callersFunctionremoveEndpointContextStorage
()
packages/core/src/context/endpoint-context.test.ts:5
← previousnext →3,801–3,900 of 6,819, ranked by callers