Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/better-auth/better-auth
/ functions
Functions
6,486 in github.com/better-auth/better-auth
⨍
Functions
6,486
◇
Types & classes
1,386
↓ 1 callers
Function
readBodyWithLimit
( response: Response, maximumBytes: number, signal: AbortSignal, )
packages/cimd/src/client-store.ts:58
↓ 1 callers
Function
readBoundedResponseBody
(response: Response)
packages/oauth-provider/src/utils/client-assertion.ts:155
↓ 1 callers
Function
readCacheEntry
(clientId: string)
packages/cimd/src/resolver.ts:319
↓ 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
readClientTokenRevocation
(clientId: string)
packages/oauth-provider/src/backchannel-logout.test.ts:377
↓ 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
readName
(value: unknown)
packages/scim/src/user-patch.ts:176
↓ 1 callers
Function
readOrCreateOriginFetchState
( origin: string, nowMs: number, )
packages/cimd/src/resolver.ts:366
↓ 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
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:113
↓ 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
recordOutput
(data: Buffer, write: (chunk: string) => void)
e2e/smoke/test/cloudflare.spec.ts:69
↓ 1 callers
Function
redactSensitive
(obj: any, parentKey?: string)
packages/cli/src/commands/info.ts:215
↓ 1 callers
Function
redeem
(code: string, codeVerifier: string)
packages/oauth-provider/src/token.test.ts:6056
↓ 1 callers
Function
redeemDeviceCode
(input: { ctx: GenericEndpointContext; deviceCode: string; authorizeRedemption: ( deviceCode: DeviceCode
packages/better-auth/src/plugins/device-authorization/routes.ts:510
↓ 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:464
↓ 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:1028
↓ 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:1077
↓ 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:306
↓ 1 callers
Function
refresh
(refreshToken: string)
packages/oauth-provider/src/token.test.ts:1713
↓ 1 callers
Function
refresh
(refreshToken: string, resources?: string[])
packages/oauth-provider/src/resource-binding.test.ts:149
↓ 1 callers
Function
refresh
(failed: JSONWebKeySet)
packages/core/src/oauth2/verify.ts:454
↓ 1 callers
Function
refreshAccessToken
(refreshToken: string)
packages/oauth-provider/src/userinfo.test.ts:191
↓ 1 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:184
↓ 1 callers
Function
refreshTokenExists
( ctx: GenericEndpointContext, refreshId: string, )
packages/oauth-provider/src/token.ts:578
↓ 1 callers
Function
refreshUserSessions
(user: User)
packages/better-auth/src/db/internal-adapter.ts:122
↓ 1 callers
Function
register
(authorization?: string)
packages/oauth-provider/src/challenge-exposure.test.ts:37
↓ 1 callers
Function
register
(userVerified: boolean)
packages/passkey/src/passkey-user-verification.test.ts:29
↓ 1 callers
Function
register
(opts: { aaguid: string; credentialID: string; name?: string; })
packages/passkey/src/passkey.test.ts:1617
↓ 1 callers
Function
registerActiveOrganizationCleanup
(restoreWindow: () => void)
packages/better-auth/src/plugins/organization/organization.test.ts:2926
↓ 1 callers
Function
registerBody
(providerId: string)
packages/sso/src/providers.test.ts:4042
↓ 1 callers
Function
registerClient
( overrides: Partial<{ enable_end_session: boolean; backchannel_logout_uri: string | undefined; bac
packages/oauth-provider/src/backchannel-logout.test.ts:258
↓ 1 callers
Function
registerEndpoint
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/register.ts:312
↓ 1 callers
Function
registerOrganizationProvider
* 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 callers
Function
registerProtocolScheme
( $fetch: BetterFetch, options: ElectronClientOptions, getWindow: () => electron.BrowserWindow | null | und
packages/electron/src/browser.ts:149
↓ 1 callers
Function
registerProvider
( providerId: string, domain: string, options: { audience?: string; issuer?: string; } = {}, )
packages/sso/src/domain-verification-concurrency.test.ts:63
↓ 1 callers
Function
registerSAMLProvider
( headers: Headers, providerId: string, organizationId?: string, additionalFields?: Record<string,
packages/sso/src/providers.test.ts:447
↓ 1 callers
Function
registerSSOProvider
( headers: Headers, organizationId?: string, )
packages/sso/src/domain-verification.test.ts:127
↓ 1 callers
Function
registerSSOProvider
(options: O)
packages/sso/src/routes/sso.ts:209
↓ 1 callers
Function
registerStore
(store: Store)
packages/better-auth/src/client/vue/vue-store.ts:11
↓ 1 callers
Function
registrationBearerError
* 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 callers
Function
registrationSourceFor
* 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 callers
Function
registrationSourceMatches
( source: StoredChallengeValue["registrationSource"], sessionToken: string | undefined, )
packages/passkey/src/routes.ts:66
↓ 1 callers
Function
reindent
(code: string)
docs/components/markdown.tsx:89
↓ 1 callers
Function
rejectAuthentication
(detail: string)
packages/scim/src/connection-authentication.ts:190
↓ 1 callers
Function
rejectAuthorization
(authorizationHeader: string)
packages/oauth-provider/src/resource-challenge.test.ts:440
↓ 1 callers
Function
rejectCompromisedPassword
( password: string, customMessage?: string | undefined, )
packages/better-auth/src/plugins/haveibeenpwned/index.ts:86
↓ 1 callers
Function
rejectInvitation
(options: O)
packages/better-auth/src/plugins/organization/routes/crud-invites.ts:892
↓ 1 callers
Function
rejectNonObjectIds
( adapter: T, )
packages/oauth-provider/src/private-key-jwt.test.ts:1294
↓ 1 callers
Function
rejectNonObjectIds
( adapter: T, )
packages/better-auth/src/plugins/magic-link/magic-link.test.ts:1014
↓ 1 callers
Function
rejectSCIMDemoSSOUser
()
demo/nextjs/lib/scim-demo-employee.ts:572
↓ 1 callers
Function
release
()
packages/memory-adapter/src/memory-adapter.test.ts:531
↓ 1 callers
Function
releaseAccountLink
()
packages/sso/src/providers.test.ts:3190
↓ 1 callers
Function
releaseCheck
()
packages/better-auth/src/plugins/email-otp/email-otp.attempts.test.ts:295
↓ 1 callers
Function
releaseCleanup
()
packages/better-auth/src/api/rate-limiter/rate-limiter.test.ts:410
↓ 1 callers
Function
releaseDecommissionLease
(input: { database: DBAdapter; bindingId: string; leaseId: string; })
packages/scim/src/connection-decommission.ts:168
← previous
next →
3,601–3,700 of 6,486, ranked by callers