Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/better-auth/better-auth
/ functions
Functions
6,653 in github.com/better-auth/better-auth
⨍
Functions
6,653
◇
Types & classes
1,389
↓ 2 callers
Function
parseManagedScopes
(serializedScopes: string)
packages/scim/src/managed-connections.ts:297
↓ 2 callers
Function
parseMarkdown
(value: string)
packages/release-tooling/src/ai/generated-copy.ts:33
↓ 2 callers
Function
parsePrompt
(prompt: string)
packages/oauth-provider/src/utils/index.ts:1159
↓ 2 callers
Function
parseSSOProviderAdditionalFields
( options: SSOOptions | undefined, data: Record<string, unknown>, action: "create" | "update", )
packages/sso/src/routes/schemas.ts:55
↓ 2 callers
Function
parseScopes
(scope: string | null | undefined)
packages/oauth-provider/src/device-code.ts:94
↓ 2 callers
Function
parseSecretsEnv
( envValue: string | undefined, )
packages/better-auth/src/context/secret-utils.ts:16
↓ 2 callers
Function
parseSessionCookieJwtPayload
( payload: JWTPayload, )
packages/better-auth/src/cookies/jwt.ts:34
↓ 2 callers
Function
parseStoredScopes
(scope: string | null | undefined)
packages/better-auth/src/api/routes/account.ts:42
↓ 2 callers
Function
parseVerificationRecord
( value: string, audience: SCIMDemoEmployeeVerificationRecord["audience"], )
demo/nextjs/lib/scim-demo-employee.ts:151
↓ 2 callers
Function
patchMembers
( groupId: string, op: "add" | "remove", memberIds: string[], )
packages/scim/src/scim-read-limits.test.ts:226
↓ 2 callers
Function
paypal
(options: PayPalOptions)
packages/core/src/social-providers/paypal.ts:70
↓ 2 callers
Function
phoneNumberClient
()
packages/better-auth/src/plugins/phone-number/client.ts:8
↓ 2 callers
Function
phoneNumberResetIdentifier
(phoneNumber: string)
packages/better-auth/src/plugins/phone-number/routes.ts:1000
↓ 2 callers
Function
pickClaims
( claims?: Record<string, unknown>, base?: Record<string, unknown>, )
packages/oauth-provider/src/userinfo.ts:63
↓ 2 callers
Function
post
(path: string, body: Record<string, unknown>)
packages/better-auth/src/plugins/two-factor/two-factor.test.ts:3030
↓ 2 callers
Function
prepareAuthentication
* Seeds a credential and challenge so verification reaches the WebAuthn check.
packages/passkey/src/passkey-origin.test.ts:69
↓ 2 callers
Function
prismaResolver
(options: PrismaResolverOptions)
docs/lib/copy-schema/adapter/prisma.ts:23
↓ 2 callers
Function
processJoinedResults
( rows: any[], joinConfig: JoinConfig | undefined, allSelectsStr: { joinModel: string; j
packages/kysely-adapter/src/kysely-adapter.ts:462
↓ 2 callers
Function
projectionRequestsGroupMembers
( projection: SCIMAttributeProjection, )
packages/scim/src/group-provisioning.ts:819
↓ 2 callers
Function
provider
(providerId = "workforce")
packages/sso/src/oidc-user-resolution-http-e2e.test.ts:100
↓ 2 callers
Function
pruneFetchStartTimesMs
( fetchStartTimesMs: number[], nowMs: number, )
packages/cimd/src/resolver.ts:232
↓ 2 callers
Function
queueCachedUserSessionDeletion
( userId: string, sessionReferences?: readonly ActiveSessionReference[], )
packages/better-auth/src/db/internal-adapter.ts:246
↓ 2 callers
Function
quote
(name: string)
packages/core/src/db/adapter/factory.test.ts:438
↓ 2 callers
Function
quoteAuthParam
(value: string)
packages/oauth-provider/src/resource-challenge.ts:14
↓ 2 callers
Function
quotePostgresIdentifier
(identifier: string)
packages/better-auth/src/test-utils/test-instance.ts:106
↓ 2 callers
Function
quoteSqliteStringLiteral
(value: string)
packages/kysely-adapter/src/d1-sqlite-dialect.ts:37
↓ 2 callers
Function
read
(key: string)
packages/api-key/src/api-key.test.ts:5317
↓ 2 callers
Function
read
(store: string, delay: number)
packages/core/src/async_hooks/pure.index.test.ts:103
↓ 2 callers
Function
readDriverRowCount
(result: unknown)
packages/drizzle-adapter/src/drizzle-adapter.ts:109
↓ 2 callers
Function
readDriverRowCount
(result: unknown)
packages/drizzle-adapter/src/relations-v2/index.ts:68
↓ 2 callers
Function
readEmailSet
(value: unknown, userName: string)
packages/scim/src/user-patch.ts:160
↓ 2 callers
Function
readEmailValues
(value: unknown)
packages/scim/src/user-patch.ts:150
↓ 2 callers
Function
readEnv
()
e2e/smoke/test/fixtures/resource-server/auth.ts:37
↓ 2 callers
Function
readJSON
(response: Response)
packages/scim/src/scim-sso-http-e2e.test.ts:58
↓ 2 callers
Function
readJsonConfig
* 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 callers
Function
readJwksInProcess
( { context, request, headers, path }: JwksReadContext, jwtPlugin: ReturnType<typeof jwt>, )
packages/oauth-provider/src/utils/index.ts:125
↓ 2 callers
Function
readMemberIdFromValuePath
(path: string)
packages/scim/src/group-provisioning.ts:276
↓ 2 callers
Function
readNonEmptyString
(value: unknown, attribute: string)
packages/scim/src/user-patch.ts:135
↓ 2 callers
Function
readPackageVersion
( packageJsonPath: string, expectedPackageName: string, )
packages/cli/src/utils/get-package-info.ts:20
↓ 2 callers
Function
readPackageVersion
(path: string)
docs/scripts/sync-versions.ts:65
↓ 2 callers
Function
readPatchMemberIds
(value: unknown)
packages/scim/src/group-provisioning.ts:253
↓ 2 callers
Function
readRootPackageJson
()
packages/telemetry/src/node.ts:29
↓ 2 callers
Function
readRow
({ model, modelKey, where, }: FallbackRequest)
packages/core/src/db/adapter/atomic-fallback.ts:96
↓ 2 callers
Function
readSearchParam
(input: SCIMDemoOIDCSearchParams, name: string)
demo/nextjs/lib/scim-demo-oidc.ts:154
↓ 2 callers
Function
readSingleRecord
Microsoft Entra may send a single complex value as a one-element array.
packages/scim/src/null-attributes.ts:18
↓ 2 callers
Function
readStoredValue
( storage: Pick<ExpoClientStorage, "getItem">, key: string, baseValue: string | null, )
packages/expo/src/client-storage.ts:172
↓ 2 callers
Function
readStoredValueAsync
( storage: Pick<ExpoClientStorage, "getItemAsync">, key: string, baseValue: string | null, )
packages/expo/src/client-storage.ts:195
↓ 2 callers
Function
readStringClaim
( accessTokenClaims: unknown, claimName: string, )
demo/nextjs/app/api/mcp/route.ts:21
↓ 2 callers
Function
ready
(data: Record<string, string> = {})
e2e/smoke/test/fixtures/resource-server/auth.ts:52
↓ 2 callers
Function
recommendChangeset
( github: GitHubReader, options: RecommendationOptions, )
packages/release-tooling/src/changesets/recommend.ts:43
↓ 2 callers
Function
reconcileProjectionUserState
( options: SCIMOptions, database: DBTransactionAdapter, input: { provisioningDomainId: string; userId:
packages/scim/src/projection.ts:326
↓ 2 callers
Function
reconcileSCIMProjectionDomainBatch
(input: { database: DBTransactionAdapter; auth: AuthContext; projection: SCIMProjectionCoordinator; identi
packages/scim/src/projection.ts:711
↓ 2 callers
Function
recordFailedFetch
(clientId: string)
packages/cimd/src/resolver.ts:674
↓ 2 callers
Function
recordTerminalFailure
(clientId: string)
packages/cimd/src/resolver.ts:481
↓ 2 callers
Function
reddit
(options: RedditOptions)
packages/core/src/social-providers/reddit.ts:28
↓ 2 callers
Function
redisStorage
(config: RedisStorageConfig)
packages/redis-storage/src/redis-storage.ts:37
↓ 2 callers
Function
refresh
(refreshToken: string)
packages/oauth-provider/src/token.test.ts:1713
↓ 2 callers
Function
refreshAdapter
(betterAuthOptions: BetterAuthOptions)
packages/test-utils/src/adapter/test-adapter.ts:96
↓ 2 callers
Function
refreshJwks
* 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:193
↓ 2 callers
Function
register
()
packages/oauth-provider/src/resource-startup.test.ts:106
↓ 2 callers
Function
registerClientMetadataDocument
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, input: RegisterClientMetadataDocumentInput, )
packages/oauth-provider/src/register.ts:1254
↓ 2 callers
Function
rejectAuthorizationCode
* 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
↓ 2 callers
Function
rejectReadOnlyAttribute
(attribute: string)
packages/scim/src/user-patch.ts:215
↓ 2 callers
Function
removeTrailingUndefined
(args: string[])
packages/cli/src/commands/init/utility/plugin.ts:253
↓ 2 callers
Function
renderCompletion
* Renders the page that posts the outcome (token or error) to the opener. The * caller must pass a trusted `popupOrigin` — validated at `/oauth-popup
packages/better-auth/src/plugins/oauth-popup/index.ts:95
↓ 2 callers
Function
replaceSCIMUserSource
* Replaces a retained SCIM User's writable state in place and reconciles the * linked Better Auth User. Returns `null` when the guarded source row no
packages/scim/src/user-provisioning.ts:249
↓ 2 callers
Method
reply
* Reply to the sender of this email message with a new EmailMessage object. * @param message The reply message. * @returns A promise that resolves
e2e/smoke/test/fixtures/cloudflare/worker-configuration.d.ts:14094
↓ 2 callers
Function
requestAuth
( clientOptions: BetterAuthClientOptions | undefined, options: ElectronClientOptions, cfg?: ElectronRequest
packages/electron/src/authenticate.ts:37
↓ 2 callers
Function
requestConfirmation
(input: { body?: Record<string, string>; accept?: string; origin?: string; })
packages/oauth-provider/src/logout.test.ts:107
↓ 2 callers
Function
requestEndSession
(input: { method?: "GET" | "POST"; query?: Record<string, string>; body?: Record<string, string>; acce
packages/oauth-provider/src/logout.test.ts:74
↓ 2 callers
Function
requestHeaders
()
packages/better-auth/src/api/routes/account.test.ts:2896
↓ 2 callers
Function
requestSCIM
( path: string, input: { bearerToken?: string; body?: unknown; method?: "GET" | "POST" | "PUT" |
demo/nextjs/app/dashboard/scim/settings.tsx:733
↓ 2 callers
Function
requestUrl
(input: RequestInfo | URL)
packages/cimd/src/metadata-refresh.test.ts:40
↓ 2 callers
Function
requestUrl
(input: RequestInfo | URL)
packages/cimd/src/cross-origin-jwks-uri.test.ts:23
↓ 2 callers
Function
requestUrl
(input: RequestInfo | URL)
packages/mcp/src/mcp.test.ts:38
↓ 2 callers
Function
requireAccessTokenClientId
( accessTokenClaims: VerifiedMcpAccessTokenClaims, )
packages/cimd/src/mcp-e2e.test.ts:48
↓ 2 callers
Function
requireAccessTokenClientId
( accessTokenClaims: VerifiedMcpAccessTokenClaims, )
packages/mcp/src/mcp.test.ts:50
↓ 2 callers
Function
requireActive
( resource: Record<string, unknown>, expected: boolean, subject: string, )
demo/nextjs/app/dashboard/scim/lifecycle-walkthrough.tsx:130
↓ 2 callers
Function
requireListResponse
( value: unknown, subject: string, )
demo/nextjs/app/dashboard/scim/settings.tsx:397
↓ 2 callers
Function
requireMembers
( resource: Record<string, unknown>, expectedIds: string[], subject: string, )
demo/nextjs/app/dashboard/scim/lifecycle-walkthrough.tsx:140
↓ 2 callers
Function
requireResource
( value: unknown, schema: typeof SCIM_USER_SCHEMA | typeof SCIM_GROUP_SCHEMA, subject: string, )
demo/nextjs/app/dashboard/scim/settings.tsx:381
↓ 2 callers
Function
requireSCIMSubject
( adapter: Pick<DBAdapter, "findOne">, userId: string, )
packages/scim/src/user-provisioning.ts:412
↓ 2 callers
Function
requireSuccessfulSSOAuthentication
( result: SSOAuthenticationResult, )
packages/sso/src/user-resolution.ts:152
↓ 2 callers
Function
resolveAccessTokenValidation
* We don't know the access token format so we try to validate it as a JWT * first, then as an opaque token. Returns the RFC 7662 introspection payloa
packages/oauth-provider/src/introspect.ts:520
↓ 2 callers
Function
resolveBaseURL
( config: BaseURLConfig | undefined, basePath: string, source?: Request | Headers, loadEnv?: boolean, tru
packages/better-auth/src/utils/url.ts:451
↓ 2 callers
Function
resolveClientRegistrationScopes
(opts: OAuthOptions<Scope[]>)
packages/oauth-provider/src/register.ts:73
↓ 2 callers
Function
resolveDynamicBaseURL
( config: DynamicBaseURLConfig, source: Request | Headers, basePath: string, trustedProxyHeaders?: boolean
packages/better-auth/src/utils/url.ts:398
↓ 2 callers
Function
resolveDynamicRegistrationDefaultApplicationType
* Server-owned default for dynamic registrations that omit `application_type`. * `"infer"` classifies as native when any redirect URI uses a non-http
packages/oauth-provider/src/register.ts:203
↓ 2 callers
Function
resolveDynamicTrustedProxyHeaders
( options: BetterAuthOptions, )
packages/better-auth/src/context/helpers.ts:198
↓ 2 callers
Function
resolveEnforcePerClientResources
* Resolves the effective {@link OAuthOptions.enforcePerClientResources} value. * * - Explicit `true | false` always wins (`source: "explicit"`). *
packages/oauth-provider/src/resources.ts:633
↓ 2 callers
Function
resolveExtensions
( extensions: PasskeyExtensionsResolver | undefined, ctx: GenericEndpointContext, )
packages/passkey/src/routes.ts:106
↓ 2 callers
Function
resolveManagedConnectionOptions
( options: SCIMManagedConnectionOptions, )
packages/scim/src/managed-connections.ts:787
↓ 2 callers
Function
resolveMetadataStaleIfErrorMs
( value: number | string | undefined, )
packages/cimd/src/resolver.ts:140
↓ 2 callers
Function
resolveMutuallySupportedGrantTypes
* The requested grants this server supports. Clients such as MCP connectors * send one grant union to every server, so a metadata document or a dynam
packages/oauth-provider/src/register.ts:109
↓ 2 callers
Function
resolveOAuthAccountKeyForAPI
( provider: OAuthProvider<Profile>, tokens: OAuth2Tokens, profile: Profile, )
packages/better-auth/src/oauth2/account-key.ts:50
↓ 2 callers
Function
resolveOIDCProvider
* Resolves an SSO provider by `providerId`, first checking `options.defaultSSO` * and falling back to the `ssoProvider` table. Returns `null` when no
packages/sso/src/routes/sso.ts:1870
↓ 2 callers
Function
resolvePackage
( scope: string | undefined, changedFiles: string[], )
packages/release-tooling/src/change-classifier.ts:280
↓ 2 callers
Function
resolveRefreshTokenSession
( ctx: GenericEndpointContext, refreshToken: Pick< OAuthRefreshToken<Scope[]>, "scopes" | "sessionId" |
packages/oauth-provider/src/utils/index.ts:322
↓ 2 callers
Function
resolveRegistrationGrantTypes
( client: OAuthClientRegistrationMetadata, )
packages/oauth-provider/src/register.ts:82
↓ 2 callers
Function
resolveReportedDependencies
( projectRoot: string, dependencies: Record<string, string | undefined>, reportedDependencies: readonly Rep
packages/cli/src/commands/info.ts:19
← previous
next →
1,501–1,600 of 6,653, ranked by callers