Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/better-auth/better-auth
/ functions
Functions
6,712 in github.com/better-auth/better-auth
⨍
Functions
6,712
◇
Types & classes
1,390
↓ 1 callers
Function
primeLazyOpenTelemetryForTests
()
packages/core/src/instrumentation/instrumentation.test.ts:23
↓ 1 callers
Function
printDebugLogs
()
packages/test-utils/src/adapter/create-test-suite.ts:377
↓ 1 callers
Function
prismaCode
({ provider, additionalOptions, }: { provider: "sqlite" | "mysql" | "postgresql"; additionalOptions?: Reco
packages/cli/src/commands/init/configs/databases.config.ts:37
↓ 1 callers
Function
prismaIndexMatches
( existing: PrismaIndexDefinition, configured: ResolvedDBTableIndex, )
packages/cli/src/generators/prisma.ts:126
↓ 1 callers
Function
privateKeyJwtAuth
(kid: string)
packages/core/src/oauth2/private-key-jwt-authentication.test.ts:39
↓ 1 callers
Function
processArgument
( argument: GetArgumentsOptions, getArguments: GetArgumentsFn, functionName: string, )
packages/cli/src/commands/init/utility/plugin.ts:114
↓ 1 callers
Function
processArguments
( args: GetArgumentsOptions[], pluginDisplayName: string, )
packages/cli/src/commands/init/index.ts:1669
↓ 1 callers
Function
processNestedArguments
( nestedArguments: GetArgumentsOptions[], getArguments: GetArgumentsFn, )
packages/cli/src/commands/init/utility/plugin.ts:21
↓ 1 callers
Function
processSAMLResponse
( ctx: any, params: SAMLResponseParams, options?: SSOOptions, )
packages/sso/src/routes/saml-pipeline.ts:279
↓ 1 callers
Function
profile
(subject: string, overrides: Partial<PayPalProfile> = {})
packages/core/src/social-providers/paypal.test.ts:21
↓ 1 callers
Function
profileResponse
(profile: Record<string, unknown>)
packages/core/src/social-providers/wechat.test.ts:18
↓ 1 callers
Function
profileResponse
(profile: Record<string, unknown>)
packages/core/src/social-providers/reddit.test.ts:18
↓ 1 callers
Function
profileResponse
(profile: Record<string, unknown>)
packages/core/src/social-providers/facebook.test.ts:29
↓ 1 callers
Function
proofFor
(htu = `${baseURL}/api/auth/oauth2/token`)
packages/oauth-provider/src/device-code.test.ts:336
↓ 1 callers
Function
providerWith
( idToken: OAuthIdTokenConfig | undefined, options: Record<string, unknown> = {}, )
packages/core/src/oauth2/verify-id-token.test.ts:42
↓ 1 callers
Function
provisionKey
* 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 callers
Function
provisionKey
* 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 callers
Function
provisionSCIMUser
( token: string, userName: string, )
packages/scim/src/scim-sso-http-e2e.test.ts:239
↓ 1 callers
Function
proxy
(authorizationURL: string)
packages/expo/test/expo.test.ts:1763
↓ 1 callers
Function
pruneMemoryStore
()
packages/better-auth/src/api/rate-limiter/index.ts:23
↓ 1 callers
Function
publicSessionMiddleware
(opts: OAuthOptions<Scope[]>)
packages/oauth-provider/src/middleware/index.ts:5
↓ 1 callers
Function
publishDocument
( clientId: string, fields: Record<string, unknown>, )
packages/cimd/src/cimd.test.ts:715
↓ 1 callers
Function
queryValue
(value: unknown)
packages/sso/src/saml.test.ts:575
↓ 1 callers
Function
randomNonce
()
packages/better-auth/src/plugins/oauth-popup/client.ts:144
↓ 1 callers
Function
rateLimitResponse
(retryAfter: number)
packages/better-auth/src/api/rate-limiter/index.ts:94
↓ 1 callers
Function
rawCondition
(w: Where, field: string)
packages/drizzle-adapter/src/relations-v2/index.ts:572
↓ 1 callers
Function
rawDecrypt
(secret: string, hex: string)
packages/better-auth/src/crypto/index.ts:47
↓ 1 callers
Function
rawEncrypt
(secret: string, data: string)
packages/better-auth/src/crypto/index.ts:40
↓ 1 callers
Function
readBodyWithLimit
( response: Response, maximumBytes: number, signal: AbortSignal, )
packages/cimd/src/client-store.ts:126
↓ 1 callers
Function
readBoundedResponseBody
Resolves to `null` when the body exceeds 64 KiB.
packages/oauth-provider/src/utils/client-assertion.ts:481
↓ 1 callers
Function
readCacheEntry
(clientId: string)
packages/cimd/src/resolver.ts:443
↓ 1 callers
Function
readCatalogSnapshot
( databasePath: string, provisioningDomainId: string, )
e2e/integration/nextjs-demo/e2e/scim-demo.spec.ts:305
↓ 1 callers
Function
readChunks
( storage: Pick<ExpoClientStorage, "getItem">, key: string, marker: ChunkMarker, )
packages/expo/src/client-storage.ts:140
↓ 1 callers
Function
readChunksAsync
( storage: Pick<ExpoClientStorage, "getItemAsync">, key: string, marker: ChunkMarker, )
packages/expo/src/client-storage.ts:156
↓ 1 callers
Function
readClient
(clientId: string)
packages/cimd/src/metadata-refresh.test.ts:81
↓ 1 callers
Function
readClient
(clientId: string)
e2e/adapter/test/adapter-factory/cimd-refresh-test-suite.ts:96
↓ 1 callers
Function
readClientTokenRevocation
(clientId: string)
packages/oauth-provider/src/backchannel-logout.test.ts:379
↓ 1 callers
Function
readCookie
(cookieHeader: string | null, name: string)
demo/nextjs/lib/scim-demo-employee.ts:644
↓ 1 callers
Function
readDatabaseSecuritySnapshot
(databasePath: string)
e2e/integration/nextjs-demo/e2e/scim-demo.spec.ts:336
↓ 1 callers
Function
readDirective
(value: string, directive: string)
docs/lib/api-method.ts:84
↓ 1 callers
Function
readEmailClaim
(claims: Record<string, unknown>)
packages/sso/src/routes/sso.ts:1523
↓ 1 callers
Function
readExistingChunks
* Read all existing chunks from cookies
packages/better-auth/src/cookies/session-store.ts:65
↓ 1 callers
Function
readFileFromRef
(path: string, branch: string)
packages/release-tooling/src/release-notes/collect.ts:38
↓ 1 callers
Function
readGroup
(groupId: string, expectedMemberIds: string[])
demo/nextjs/app/dashboard/scim/lifecycle-walkthrough.tsx:382
↓ 1 callers
Function
readInstructions
(url: URL)
packages/release-tooling/src/release-notes/rewrite.ts:37
↓ 1 callers
Function
readIssuedCredential
(response: { json(): Promise<unknown>; })
e2e/integration/nextjs-demo/e2e/scim-demo.spec.ts:248
↓ 1 callers
Function
readJSON
(response: Response)
packages/scim/src/scim-active-normalization.test.ts:534
↓ 1 callers
Function
readJSON
(response: Response)
packages/scim/src/scim-enterprise-user.test.ts:162
↓ 1 callers
Function
readJson
(response: Response)
packages/scim/src/scim-http-contract.test.ts:92
↓ 1 callers
Function
readJwksCache
( cache: JwksCache, cacheKey: string, )
packages/oauth-provider/src/utils/client-assertion.ts:144
↓ 1 callers
Function
readListsAsArrays
(model: string, row: T)
packages/oauth-provider/src/device-code.test.ts:2041
↓ 1 callers
Function
readName
(value: unknown)
packages/scim/src/user-patch.ts:176
↓ 1 callers
Function
readOrCreateOriginFetchState
( origin: string, nowMs: number, )
packages/cimd/src/resolver.ts:560
↓ 1 callers
Function
readPackageVersion
(ref: string)
packages/release-tooling/src/release-notes/collect.ts:269
↓ 1 callers
Function
readPatchString
(value: unknown, attribute: string)
packages/scim/src/group-provisioning.ts:358
↓ 1 callers
Function
readPersistedAttributes
()
packages/scim/src/scim-enterprise-user.test.ts:1657
↓ 1 callers
Function
readPersistentMutationState
( instance: Awaited<ReturnType<typeof createTestInstance>>["instance"], )
packages/scim/src/scim-active-normalization.test.ts:594
↓ 1 callers
Function
readPrismaDataModel
( client: object, )
packages/prisma-adapter/src/schema-check.ts:34
↓ 1 callers
Function
readRawTsconfigReferences
Reads `references` from raw tsconfig JSON (stripped out by `parseTsconfig`).
packages/cli/src/utils/get-config.ts:50
↓ 1 callers
Function
readRelations
* 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 callers
Function
readReleaseManifest
(path: string)
packages/release-tooling/src/release-notes/render.ts:198
↓ 1 callers
Function
readReleaseRewrites
( path: string, manifest: ReleaseManifest, )
packages/release-tooling/src/release-notes/render.ts:206
↓ 1 callers
Function
readResource
( auth: Awaited<ReturnType<typeof bootWithResourcesOption>>["auth"], identifier: string, )
packages/oauth-provider/src/resources.test.ts:89
↓ 1 callers
Function
readResourceAttributeNames
( resourceType: SCIMResourceType, )
packages/scim/src/attribute-names.ts:45
↓ 1 callers
Function
readResourceId
(value: unknown)
e2e/integration/nextjs-demo/e2e/scim-demo.spec.ts:293
↓ 1 callers
Function
readResponseCacheHeaders
( headers: Headers, )
packages/cimd/src/client-store.ts:181
↓ 1 callers
Function
readRow
(key: string)
packages/better-auth/src/api/rate-limiter/index.ts:122
↓ 1 callers
Function
readSCIMPathIdentifier
(identifier: string)
packages/scim/src/discovery.ts:62
↓ 1 callers
Function
readSignInTwoFactorState
( ctx: GenericEndpointContext, trustDeviceMaxAge: number, )
packages/better-auth/src/plugins/two-factor/index.ts:66
↓ 1 callers
Function
readSingleParam
(value: string | string[] | undefined)
demo/nextjs/app/scim-demo/employee/page.tsx:63
↓ 1 callers
Function
readStringClaim
( claims: Record<string, unknown>, claim: string, )
packages/sso/src/routes/sso.ts:1515
↓ 1 callers
Function
readTableMetadata
( db: Kysely<unknown>, name: string, )
packages/kysely-adapter/src/sqlite-introspector.ts:85
↓ 1 callers
Function
readUser
(userId: string, expectedActive: boolean)
demo/nextjs/app/dashboard/scim/lifecycle-walkthrough.tsx:372
↓ 1 callers
Function
readWorkflow
(name: string)
packages/release-tooling/test/release-workflows.test.ts:71
↓ 1 callers
Function
rearm
(count: number)
packages/better-auth/src/plugins/two-factor/verify-two-factor.ts:192
↓ 1 callers
Function
reconcileDecommissionedConnection
(input: { database: DBAdapter; auth: AuthContext; projection: SCIMProjectionCoordinator; identity: SCIMIde
packages/scim/src/connection-decommission.ts:239
↓ 1 callers
Function
reconcileProjectionDomain
(input: { database: DBAdapter; auth: AuthContext; projection: SCIMProjectionCoordinator; identity?: SCIMId
packages/scim/src/projection.ts:754
↓ 1 callers
Function
reconcileSCIMUserBatch
( options: SCIMOptions, input: { database: DBTransactionAdapter; auth: AuthContext; provisioningDomain
packages/scim/src/projection.ts:436
↓ 1 callers
Function
recordFetchFailure
(clientId: string, failure: unknown)
packages/cimd/src/resolver.ts:466
↓ 1 callers
Function
recordFetchSuccess
(clientId: string)
packages/cimd/src/resolver.ts:461
↓ 1 callers
Function
recordJwksFetchFailure
( cache: JwksCache, cacheKey: string, failure: JwksFetchFailure | "transport-error" | null, sequence: numb
packages/oauth-provider/src/utils/client-assertion.ts:173
↓ 1 callers
Function
recordOutput
(data: Buffer, write: (chunk: string) => void)
e2e/smoke/test/cloudflare.spec.ts:69
↓ 1 callers
Function
recordTransientFailure
(clientId: string, failure: unknown)
packages/cimd/src/resolver.ts:477
↓ 1 callers
Function
redactSensitive
(value: unknown, sensitive = false)
packages/cli/src/commands/info.ts:231
↓ 1 callers
Function
redeem
(code: string, codeVerifier: string)
packages/oauth-provider/src/token.test.ts:6240
↓ 1 callers
Function
redeemDeviceCode
(input: { ctx: GenericEndpointContext; deviceCode: string; authorizeRedemption: ( deviceCode: DeviceCode
packages/better-auth/src/plugins/device-authorization/routes.ts:475
↓ 1 callers
Function
redirectCallback
( ctx: AuthContext, callbackURL: string, query?: Record<string, string> | undefined, )
packages/better-auth/src/api/routes/password.ts:29
↓ 1 callers
Function
redirectError
( ctx: AuthContext, callbackURL: string | undefined, query?: Record<string, string> | undefined, )
packages/better-auth/src/api/routes/password.ts:16
↓ 1 callers
Function
redirectFor
( maxAge: string, prompt?: string, clientId?: string, )
packages/oauth-provider/src/authorize.test.ts:549
↓ 1 callers
Function
redirectOIDCError
(error: string, description?: string)
packages/sso/src/routes/sso.ts:1326
↓ 1 callers
Function
redirectOnError
(error: { code: string; message: string })
packages/better-auth/src/api/routes/email-verification.ts:294
↓ 1 callers
Function
redirectOnError
(error: string, description?: string | undefined)
packages/better-auth/src/api/routes/callback.ts:138
↓ 1 callers
Function
redirectRefused
(endpoint: string)
packages/core/src/oauth2/reject-redirects.ts:22
↓ 1 callers
Function
redirectWithAuthorizationCode
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, verificationValue: { query: OAuthAuthorizatio
packages/oauth-provider/src/authorize.ts:1054
↓ 1 callers
Function
redirectWithError
( error: string, description?: string | undefined, )
packages/better-auth/src/plugins/magic-link/index.ts:374
↓ 1 callers
Function
redirectWithPromptCode
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, type: "login" | "create" | "consent" | "select_
packages/oauth-provider/src/authorize.ts:1103
↓ 1 callers
Function
redirectWithPromptNoneError
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, query: OAuthAuthorizationQuery, error: OAuthEr
packages/oauth-provider/src/authorize.ts:164
↓ 1 callers
Function
reducer
(state: State, action: Action)
demo/nextjs/hooks/use-toast.ts:74
↓ 1 callers
Function
ref
()
packages/core/src/context/request-state.ts:75
↓ 1 callers
Function
refetchClientJwks
* 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
← previous
next →
3,701–3,800 of 6,712, ranked by callers