MCPcopy Create free account

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

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

↓ 2 callersFunctionnormalizeDiscoveryUrls
( document: OIDCDiscoveryDocument, issuer: string, isTrustedOrigin: DiscoverOIDCConfigParams["isTrustedOrig
packages/sso/src/oidc/discovery.ts:603
↓ 2 callersFunctionnormalizeLogoutAudiences
(value: unknown)
packages/oauth-provider/src/logout.ts:641
↓ 2 callersFunctionnormalizeMultiValuedPrimaryValue
(value: unknown)
packages/scim/src/active-normalization.ts:38
↓ 2 callersFunctionnormalizePatchPath
(path: string)
packages/scim/src/user-patch.ts:348
↓ 2 callersFunctionnormalizeReplayValues
(values: string[] | undefined)
packages/oauth-provider/src/token.ts:988
↓ 2 callersFunctionnormalizeRoleName
(role: string)
packages/better-auth/src/plugins/organization/routes/crud-access-control.ts:26
↓ 2 callersFunctionnormalizeSCIMEmails
( userName: string, emails?: readonly SCIMEmail[], )
packages/scim/src/user-profile.ts:27
↓ 2 callersFunctionnormalizeSCIMUserEntraCompatibilityRequestBody
( method: string, body: unknown, )
packages/scim/src/active-normalization.ts:125
↓ 2 callersFunctionnormalizeUrl
( name: string, endpoint: string, issuer: string, )
packages/sso/src/oidc/discovery.ts:704
↓ 2 callersFunctionnormalizeUserResourceEntraCompatibility
( value: Record<string, unknown>, )
packages/scim/src/active-normalization.ts:61
↓ 2 callersFunctionnullValueOperations
The operations a null value at `path` becomes; throws when null is invalid.
packages/scim/src/null-attributes.ts:90
↓ 2 callersFunctionoauthAuthorizationServerMetadata
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/metadata.ts:155
↓ 2 callersFunctionoauthProviderAuthServerMetadata
( auth: Auth, opts?: { headers?: HeadersInit }, )
packages/oauth-provider/src/metadata.ts:251
↓ 2 callersFunctionobjectId
()
packages/better-auth/src/plugins/magic-link/magic-link.test.ts:1011
↓ 2 callersFunctionofferSkillInstall
(skillName: string)
packages/cli/src/commands/ai.ts:664
↓ 2 callersFunctionoidcIdentityBoundaryChanged
( current: OIDCConfig, updated: OIDCConfig, )
packages/sso/src/routes/providers.ts:122
↓ 2 callersFunctionoidcServerMetadata
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]> & { claims?: string[] }, )
packages/oauth-provider/src/metadata.ts:174
↓ 2 callersFunctiononChange
()
docs/hooks/use-mobile.ts:12
↓ 2 callersFunctiononRequest
(request, ctx)
packages/scim/src/index.ts:275
↓ 2 callersFunctiononSubmit
(e?: SyntheticEvent)
docs/components/ai-chat.tsx:431
↓ 2 callersFunctiononeTimeToken
(options?: OneTimeTokenOptions | undefined)
packages/better-auth/src/plugins/one-time-token/index.ts:78
↓ 2 callersFunctionoutput
(value)
packages/api-key/src/schema.ts:196
↓ 2 callersFunctionownKeysOf
(value: object)
packages/core/src/db/secondary-storage-errors.ts:116
↓ 2 callersFunctionparseAdditionalUserInputFromProviderProfile
( options: BetterAuthOptions, profile: Record<string, unknown> = {}, action: "create" | "update", )
packages/better-auth/src/db/schema.ts:226
↓ 2 callersFunctionparseAndValidateConfig
( configString: string | null | undefined, configType: "SAML" | "OIDC", )
packages/sso/src/routes/providers.ts:715
↓ 2 callersFunctionparseAuthorizationRequest
( searchParams: SCIMDemoOIDCSearchParams, )
demo/nextjs/lib/scim-demo-oidc.ts:176
↓ 2 callersFunctionparseCompactCookieCache
(value: unknown)
packages/better-auth/src/cookies/cache.ts:41
↓ 2 callersFunctionparseConfigSnapshot
( config: T | string | null | undefined, configType: "SAML" | "OIDC", )
packages/sso/src/routes/providers.ts:209
↓ 2 callersFunctionparseCookieChunkIndex
( cookieName: string, name: string, )
packages/better-auth/src/cookies/session-store.ts:46
↓ 2 callersFunctionparseEnterprisePatchObject
( value: unknown, attribute: string, )
packages/scim/src/user-patch.ts:634
↓ 2 callersFunctionparseEnvFiles
(envFiles: string[])
packages/cli/src/commands/init/utility/env.ts:11
↓ 2 callersFunctionparseEnvelope
( data: string, )
packages/better-auth/src/crypto/index.ts:18
↓ 2 callersFunctionparseGrantedScopes
(scopeClaim: unknown)
packages/cimd/src/mcp-e2e.test.ts:71
↓ 2 callersFunctionparseGrantedScopes
(scopeClaim: unknown)
packages/mcp/src/mcp.test.ts:73
↓ 2 callersFunctionparseManagedScopes
(serializedScopes: string)
packages/scim/src/managed-connections.ts:297
↓ 2 callersFunctionparseMarkdown
(value: string)
packages/release-tooling/src/ai/generated-copy.ts:33
↓ 2 callersFunctionparsePrompt
(prompt: string)
packages/oauth-provider/src/utils/index.ts:1173
↓ 2 callersFunctionparseSSOProviderAdditionalFields
( options: SSOOptions | undefined, data: Record<string, unknown>, action: "create" | "update", )
packages/sso/src/routes/schemas.ts:55
↓ 2 callersFunctionparseScopes
(scope: string | null | undefined)
packages/oauth-provider/src/device-code.ts:95
↓ 2 callersFunctionparseSecretsEnv
( envValue: string | undefined, )
packages/better-auth/src/context/secret-utils.ts:16
↓ 2 callersFunctionparseSessionCookieJwtPayload
( payload: JWTPayload, )
packages/better-auth/src/cookies/jwt.ts:34
↓ 2 callersFunctionparseStoredScopes
(scope: string | null | undefined)
packages/better-auth/src/api/routes/account.ts:42
↓ 2 callersFunctionparseVerificationAttempts
(value: string | undefined)
packages/better-auth/src/plugins/phone-number/routes.ts:1032
↓ 2 callersFunctionparseVerificationRecord
( value: string, audience: SCIMDemoEmployeeVerificationRecord["audience"], )
demo/nextjs/lib/scim-demo-employee.ts:151
↓ 2 callersFunctionpatchMembers
( groupId: string, op: "add" | "remove", memberIds: string[], )
packages/scim/src/scim-read-limits.test.ts:226
↓ 2 callersFunctionpaypal
(options: PayPalOptions)
packages/core/src/social-providers/paypal.ts:70
↓ 2 callersFunctionphoneNumberClient
()
packages/better-auth/src/plugins/phone-number/client.ts:8
↓ 2 callersFunctionphoneNumberResetIdentifier
(phoneNumber: string)
packages/better-auth/src/plugins/phone-number/routes.ts:1042
↓ 2 callersFunctionpickClaims
( claims?: Record<string, unknown>, base?: Record<string, unknown>, )
packages/oauth-provider/src/userinfo.ts:63
↓ 2 callersFunctionpost
(path: string, body: Record<string, unknown>)
packages/better-auth/src/plugins/two-factor/two-factor.test.ts:3518
↓ 2 callersFunctionprepare
(sql: string)
packages/kysely-adapter/src/sqlite-introspector.test.ts:25
↓ 2 callersFunctionprepareAuthentication
* Seeds a credential and challenge so verification reaches the WebAuthn check.
packages/passkey/src/passkey-origin.test.ts:69
↓ 2 callersFunctionprismaResolver
(options: PrismaResolverOptions)
docs/lib/copy-schema/adapter/prisma.ts:23
↓ 2 callersFunctionprocessJoinedResults
( rows: any[], joinConfig: JoinConfig | undefined, allSelectsStr: { joinModel: string; j
packages/kysely-adapter/src/kysely-adapter.ts:462
↓ 2 callersFunctionprojectionRequestsGroupMembers
( projection: SCIMAttributeProjection, )
packages/scim/src/group-provisioning.ts:819
↓ 2 callersFunctionprovider
(providerId = "workforce")
packages/sso/src/oidc-user-resolution-http-e2e.test.ts:100
↓ 2 callersFunctionpruneFetchStartTimesMs
( fetchStartTimesMs: number[], nowMs: number, )
packages/cimd/src/resolver.ts:234
↓ 2 callersFunctionqueueCachedUserSessionDeletion
( userId: string, sessionReferences?: readonly ActiveSessionReference[], )
packages/better-auth/src/db/internal-adapter.ts:250
↓ 2 callersFunctionquote
(name: string)
packages/core/src/db/adapter/factory.test.ts:438
↓ 2 callersFunctionquoteAuthParam
(value: string)
packages/oauth-provider/src/resource-challenge.ts:14
↓ 2 callersFunctionquotePostgresIdentifier
(identifier: string)
packages/better-auth/src/test-utils/test-instance.ts:106
↓ 2 callersFunctionquoteSqliteStringLiteral
(value: string)
packages/kysely-adapter/src/d1-sqlite-dialect.ts:37
↓ 2 callersFunctionread
(key: string)
packages/api-key/src/api-key.test.ts:5318
↓ 2 callersFunctionread
(store: string, delay: number)
packages/core/src/async_hooks/pure.index.test.ts:103
↓ 2 callersFunctionreadDriverRowCount
(result: unknown)
packages/drizzle-adapter/src/drizzle-adapter.ts:109
↓ 2 callersFunctionreadDriverRowCount
(result: unknown)
packages/drizzle-adapter/src/relations-v2/index.ts:68
↓ 2 callersFunctionreadEmailSet
(value: unknown, userName: string)
packages/scim/src/user-patch.ts:160
↓ 2 callersFunctionreadEmailValues
(value: unknown)
packages/scim/src/user-patch.ts:150
↓ 2 callersFunctionreadEnv
()
e2e/smoke/test/fixtures/resource-server/auth.ts:37
↓ 2 callersFunctionreadJSON
(response: Response)
packages/scim/src/scim-sso-http-e2e.test.ts:58
↓ 2 callersFunctionreadJsonConfig
* Returns `null` when the file exists but is not a JSON object, such as JSONC, * because overwriting it would drop entries we could not read.
packages/cli/src/commands/ai.ts:742
↓ 2 callersFunctionreadJwksInProcess
( { context, request, headers, path }: JwksReadContext, jwtPlugin: ReturnType<typeof jwt>, )
packages/oauth-provider/src/utils/index.ts:125
↓ 2 callersFunctionreadMemberIdFromValuePath
(path: string)
packages/scim/src/group-provisioning.ts:276
↓ 2 callersFunctionreadNonEmptyString
(value: unknown, attribute: string)
packages/scim/src/user-patch.ts:135
↓ 2 callersFunctionreadPackageVersion
( packageJsonPath: string, expectedPackageName: string, )
packages/cli/src/utils/get-package-info.ts:20
↓ 2 callersFunctionreadPackageVersion
(path: string)
docs/scripts/sync-versions.ts:65
↓ 2 callersFunctionreadPatchMemberIds
(value: unknown)
packages/scim/src/group-provisioning.ts:253
↓ 2 callersFunctionreadRootPackageJson
()
packages/telemetry/src/node.ts:29
↓ 2 callersFunctionreadRow
({ model, modelKey, where, }: FallbackRequest)
packages/core/src/db/adapter/atomic-fallback.ts:96
↓ 2 callersFunctionreadSearchParam
(input: SCIMDemoOIDCSearchParams, name: string)
demo/nextjs/lib/scim-demo-oidc.ts:154
↓ 2 callersFunctionreadSingleRecord
Microsoft Entra may send a single complex value as a one-element array.
packages/scim/src/null-attributes.ts:18
↓ 2 callersFunctionreadStoredValue
( storage: Pick<ExpoClientStorage, "getItem">, key: string, baseValue: string | null, )
packages/expo/src/client-storage.ts:172
↓ 2 callersFunctionreadStoredValueAsync
( storage: Pick<ExpoClientStorage, "getItemAsync">, key: string, baseValue: string | null, )
packages/expo/src/client-storage.ts:195
↓ 2 callersFunctionreadString
(value: object, key: string)
packages/core/src/db/secondary-storage-errors.ts:304
↓ 2 callersFunctionreadStringClaim
( accessTokenClaims: unknown, claimName: string, )
demo/nextjs/app/api/mcp/route.ts:21
↓ 2 callersFunctionready
(data: Record<string, string> = {})
e2e/smoke/test/fixtures/resource-server/auth.ts:52
↓ 2 callersFunctionrecommendChangeset
( github: GitHubReader, options: RecommendationOptions, )
packages/release-tooling/src/changesets/recommend.ts:43
↓ 2 callersFunctionreconcileProjectionUserState
( options: SCIMOptions, database: DBTransactionAdapter, input: { provisioningDomainId: string; userId:
packages/scim/src/projection.ts:326
↓ 2 callersFunctionreconcileSCIMProjectionDomainBatch
(input: { database: DBTransactionAdapter; auth: AuthContext; projection: SCIMProjectionCoordinator; identi
packages/scim/src/projection.ts:711
↓ 2 callersFunctionrecordFailedFetch
(clientId: string)
packages/cimd/src/resolver.ts:702
↓ 2 callersFunctionrecordTerminalFailure
( clientId: string, save?: { adapter: object; fetchMark: number }, )
packages/cimd/src/resolver.ts:492
↓ 2 callersFunctionredactBytes
* Returns the redacted text of a byte array that holds a secret, such as an * ioredis key sent as a Buffer, or the original value when it holds none.
packages/core/src/db/secondary-storage-errors.ts:95
↓ 2 callersFunctionreddit
(options: RedditOptions)
packages/core/src/social-providers/reddit.ts:28
↓ 2 callersFunctionredisStorage
(config: RedisStorageConfig)
packages/redis-storage/src/redis-storage.ts:37
↓ 2 callersFunctionrefresh
(refreshToken: string)
packages/oauth-provider/src/token.test.ts:1717
↓ 2 callersFunctionrefreshAdapter
(betterAuthOptions: BetterAuthOptions)
packages/test-utils/src/adapter/test-adapter.ts:96
↓ 2 callersFunctionrefreshJwks
* Refetches a fresh cached set, `current`, that lacks a token's key, such as a * newly rotated-in `kid`. Uses a set another request fetched after `cu
packages/core/src/oauth2/verify.ts:211
↓ 2 callersFunctionregister
()
packages/oauth-provider/src/resource-startup.test.ts:106
↓ 2 callersFunctionregisterClientMetadataDocument
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, input: RegisterClientMetadataDocumentInput, )
packages/oauth-provider/src/register.ts:1255
↓ 2 callersFunctionrejectAuthorizationCode
* Rejects an unknown, expired, or already-redeemed authorization code. A code * presented after redemption revokes the tokens it issued (RFC 6749 §4.
packages/oauth-provider/src/token.ts:1521
← previousnext →1,501–1,600 of 6,819, ranked by callers