MCPcopy Create free account

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

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

↓ 2 callersFunctiongetIssuedOriginIdentifier
(state: string)
packages/expo/src/routes.ts:12
↓ 2 callersFunctiongetJoinRelationKey
( baseModel: string, joinModel: string, baseModelKey: string, joinModelKey: string, relati
packages/drizzle-adapter/src/drizzle-adapter.ts:769
↓ 2 callersFunctiongetJoinRelationKey
( baseModel: string, joinModel: string, baseModelKey: string, joinModelKey: string, relati
packages/drizzle-adapter/src/relations-v2/index.ts:350
↓ 2 callersFunctiongetJwksCacheKey
(client: SchemaClient<Scope[]>)
packages/oauth-provider/src/utils/client-assertion.ts:352
↓ 2 callersFunctiongetJwksForVerification
( token: string, opts: JwksFetchOptions, allowStale = false, )
packages/core/src/oauth2/verify.ts:458
↓ 2 callersFunctiongetJwksStaleIfErrorMs
(discovery: ClientDiscovery | undefined)
packages/oauth-provider/src/utils/client-assertion.ts:155
↓ 2 callersFunctiongetJwtPluginOptions
()
packages/oauth-provider/src/client-resource.ts:53
↓ 2 callersFunctiongetKyselyDatabaseType
( db: BetterAuthOptions["database"], )
packages/kysely-adapter/src/dialect.ts:13
↓ 2 callersFunctiongetLLMText
( docPage: InferPageType<typeof source>, version?: DocsVersion, )
docs/lib/llm-text.ts:101
↓ 2 callersFunctiongetLLMsIndex
( loader: typeof source, version?: DocsVersion, )
docs/lib/llm-text.ts:212
↓ 2 callersFunctiongetLLMsIndexTitle
(version?: DocsVersion)
docs/lib/llm-text.ts:127
↓ 2 callersFunctiongetLegacyMarkdownTarget
(slug: string[])
docs/lib/llm-text.ts:174
↓ 2 callersFunctiongetLoadedConfig
({ cwd, configPath, outputPath, shouldThrowOnError = false, }: ConfigInput)
packages/cli/src/utils/get-config.ts:393
↓ 2 callersFunctiongetLocalJwksSource
( context: AuthContext, request?: Request | undefined, )
packages/oauth-provider/src/utils/index.ts:167
↓ 2 callersFunctiongetMissingEnvVars
( envFiles: Map<string, string[]>, envVar: string | string[], )
packages/cli/src/commands/init/utility/env.ts:47
↓ 2 callersFunctiongetMssqlSchema
(db: Kysely<unknown>)
packages/kysely-adapter/src/schema-check.ts:111
↓ 2 callersFunctiongetOAuthProviderPlugin
(ctx: AuthContext)
packages/oauth-provider/src/utils/index.ts:101
↓ 2 callersFunctiongetORMFromAdapter
(adapter: DatabaseAdapter)
packages/cli/src/commands/init/utility/database.ts:28
↓ 2 callersFunctiongetOauthProviderPlugin
()
packages/oauth-provider/src/client-resource.ts:40
↓ 2 callersFunctiongetOperationId
(endpoint: Endpoint, fallback?: string)
packages/better-auth/src/api/dispatch.ts:66
↓ 2 callersFunctiongetOrCreateEndpointContextStorage
()
packages/core/src/context/endpoint-context.ts:21
↓ 2 callersFunctiongetOrganizationId
( params: Promise<{ organizationId: string }>, )
demo/nextjs/app/api/scim-demo/organizations/[organizationId]/connections/route.ts:35
↓ 2 callersFunctiongetOtherSlot
(slot: ChunkSlot)
packages/expo/src/client-storage.ts:127
↓ 2 callersFunctiongetPackageVersion
(pkg: string)
packages/telemetry/src/node.ts:44
↓ 2 callersFunctiongetPackageVersion
( _pkg: string, )
packages/telemetry/src/utils/package-json.ts:5
↓ 2 callersFunctiongetPasskeyActions
( $fetch: BetterFetch, { $listPasskeys, $store, }: { $listPasskeys: ReturnType<typeof atom<any>>; $
packages/passkey/src/client.ts:35
↓ 2 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string, )
demo/nextjs/components/ui/chart.tsx:293
↓ 2 callersFunctiongetPendingDiscovery
(ctx: AuthContext)
packages/better-auth/src/plugins/generic-oauth/index.ts:104
↓ 2 callersFunctiongetPersistedUser
( data: ReturnType<typeof createTestContext>["data"], scimUserId: string, )
packages/scim/src/scim-user-patch.test.ts:61
↓ 2 callersFunctiongetPluginConfigs
(plugins: Plugin[])
packages/cli/src/commands/init/utility/plugin.ts:8
↓ 2 callersFunctiongetPostgresSchema
(db: Kysely<unknown>)
packages/kysely-adapter/src/schema-check.ts:104
↓ 2 callersFunctiongetProtocolFromSource
( source: Request | Headers, configProtocol?: "http" | "https" | "auto" | undefined, trustedProxyHeaders?:
packages/better-auth/src/utils/url.ts:308
↓ 2 callersFunctiongetProviderSource
(provider: ReferencedProvider)
packages/sso/src/provider-reference.ts:84
↓ 2 callersFunctiongetQueryModel
* Resolve the db.query key for a model. * * When `usePlural` is false (default), Better Auth uses singular model * names like "user", but
packages/drizzle-adapter/src/drizzle-adapter.ts:743
↓ 2 callersFunctiongetQueryModel
* Resolve the `db.query` key for a model. * * `db.query` is keyed by the Drizzle schema export names, which are * often plural ("users") e
packages/drizzle-adapter/src/relations-v2/index.ts:320
↓ 2 callersFunctiongetRegisterSSOProviderBodySchema
(options?: SSOOptions)
packages/sso/src/routes/schemas.ts:321
↓ 2 callersFunctiongetRelationKeysByModel
()
packages/drizzle-adapter/src/drizzle-adapter.ts:190
↓ 2 callersFunctiongetRelationKeysByModel
()
packages/drizzle-adapter/src/relations-v2/index.ts:280
↓ 2 callersMethodgetReleaseBody
(tag: string)
packages/release-tooling/src/github.ts:25
↓ 2 callersFunctiongetResolvedModelIndexes
(model: string, modelKey: string)
packages/mongo-adapter/src/mongodb-adapter.ts:191
↓ 2 callersFunctiongetRetryAfter
(lastRequest: number, window: number)
packages/better-auth/src/api/rate-limiter/index.ts:110
↓ 2 callersFunctiongetRootLLMsIndex
(versions: readonly DocsVersion[])
docs/lib/llm-text.ts:142
↓ 2 callersFunctiongetRuntimeName
()
packages/core/src/env/runtime.ts:29
↓ 2 callersFunctiongetSAMLRedirectCandidates
( relayStateCallbackUrl: string | undefined, samlConfig: SAMLConfig | undefined, samlOptions: SSOOptions["s
packages/sso/src/routes/saml-pipeline.ts:192
↓ 2 callersFunctiongetSCIMDemoEmployeePortalIdentity
( database: Pick<DBAdapter<Options>, "findOne">, store: Pick<SCIMDemoEmployeeVerificationStore, "findVerific
demo/nextjs/lib/scim-demo-employee.ts:539
↓ 2 callersFunctiongetSCIMDemoEmployeePortalIdentityByToken
( database: Pick<DBAdapter<Options>, "findOne">, store: Pick<SCIMDemoEmployeeVerificationStore, "findVerific
demo/nextjs/lib/scim-demo-employee.ts:498
↓ 2 callersFunctiongetSCIMDemoEmployeePortalToken
( cookieHeader: string | null, )
demo/nextjs/lib/scim-demo-employee.ts:532
↓ 2 callersFunctiongetSCIMDemoOIDCAuthorizationFormFields
( request: SCIMDemoOIDCAuthorizationRequest, )
demo/nextjs/lib/scim-demo-oidc.ts:304
↓ 2 callersFunctiongetSCIMDemoOIDCAuthorizationView
( searchParams: SCIMDemoOIDCSearchParams, identity: SCIMDemoEmployeeIdentity, )
demo/nextjs/lib/scim-demo-oidc.ts:254
↓ 2 callersFunctiongetSCIMDemoOIDCClientSecret
()
demo/nextjs/lib/scim-demo-oidc.ts:328
↓ 2 callersFunctiongetSCIMDemoOIDCIssuer
()
demo/nextjs/lib/scim-demo-identity.ts:162
↓ 2 callersFunctiongetSCIMDemoOIDCRedirectURI
()
demo/nextjs/lib/scim-demo-oidc.ts:324
↓ 2 callersFunctiongetSSOProviderAdditionalFields
(options?: SSOOptions)
packages/sso/src/routes/schemas.ts:20
↓ 2 callersFunctiongetSSOProviderAdditionalFields
(options?: SSOOptions)
packages/sso/src/routes/providers.ts:374
↓ 2 callersFunctiongetSSOProviderAdditionalFieldsSchema
(options?: SSOOptions)
packages/sso/src/routes/schemas.ts:27
↓ 2 callersFunctiongetSession
(cookies: CookieJar)
packages/scim/src/scim-sso-http-e2e.test.ts:331
↓ 2 callersFunctiongetSession
()
packages/better-auth/src/api/routes/session.ts:29
↓ 2 callersFunctiongetSession
()
e2e/integration/waku/src/auth.ts:74
↓ 2 callersFunctiongetSessionAtom
( $fetch: BetterFetch, options?: BetterAuthClientOptions | undefined, )
packages/better-auth/src/client/session-atom.ts:99
↓ 2 callersFunctiongetSessionCookie
( request: Request | Headers, config?: | { cookiePrefix?: string; cookieName?: string; path?:
packages/better-auth/src/cookies/index.ts:563
↓ 2 callersFunctiongetSessionCookieJwtVerifyOptions
( options?: VerifySessionCookieJwtOptions, )
packages/better-auth/src/cookies/jwt.ts:15
↓ 2 callersFunctiongetSetCookie
(header: string, prevCookie?: string | undefined)
packages/expo/src/client.ts:82
↓ 2 callersFunctiongetSignInTwoFactorState
(ctx: GenericEndpointContext)
packages/better-auth/src/plugins/two-factor/index.ts:171
↓ 2 callersFunctiongetSignedQueryIssuedAt
(oauthQuery: string)
packages/oauth-provider/src/signed-query.ts:79
↓ 2 callersFunctiongetSigningKeys
()
demo/nextjs/lib/scim-demo-oidc.ts:472
↓ 2 callersFunctiongetStorage
()
e2e/smoke/test/fixtures/cloudflare/src/async-hooks.ts:7
↓ 2 callersFunctiongetStorageWritePlan
( key: string, value: string, currentBaseValue: string | null, )
packages/expo/src/client-storage.ts:224
↓ 2 callersFunctiongetUpdateSSOProviderBodySchema
(options?: SSOOptions)
packages/sso/src/routes/schemas.ts:341
↓ 2 callersFunctiongetUserInfoFromProfile
(profile: KakaoProfile)
packages/core/src/social-providers/kakao.ts:126
↓ 2 callersFunctiongetUtf8ByteLength
(value: string)
packages/core/src/db/database-index.ts:11
↓ 2 callersFunctiongetUtf8ByteLength
(value: string)
docs/lib/copy-schema/utils.ts:5
↓ 2 callersFunctiongetVendorBaseURL
* Get base URL from vendor-specific environment variables
packages/better-auth/src/plugins/oauth-proxy/utils.ts:17
↓ 2 callersFunctiongetWindow
()
packages/electron/src/client.ts:186
↓ 2 callersFunctiongetZodDescription
(zodType: z.ZodType<unknown>)
packages/better-auth/src/plugins/open-api/generator.ts:172
↓ 2 callersFunctiongetZodPipeSchema
(zodType: z.ZodType<unknown>)
packages/better-auth/src/plugins/open-api/generator.ts:215
↓ 2 callersFunctiongit
(args: string[], cwd?: string)
docs/scripts/sync-versions.ts:44
↓ 2 callersFunctiongoogle
(options: GoogleOptions)
packages/core/src/social-providers/google.ts:154
↓ 2 callersFunctiongoto
* `load` fires before the client hydrates, and a click before hydration races * the form navigation with SvelteKit's startup `replaceState`. * * @s
e2e/integration/sveltekit/e2e/sveltekit.spec.ts:14
↓ 2 callersFunctiongroupImports
(imports: ImportGroup[])
packages/cli/src/commands/init/utility/imports.ts:94
↓ 2 callersFunctionguardSSOProviderMutation
( options: SSOOptions | undefined, mutation: | { action: "update"; isAuthenticationBoundaryChange: boolean
packages/sso/src/routes/providers.ts:283
↓ 2 callersFunctionhandleOIDCCallback
* Core OIDC callback handler logic, shared between the per-provider and * shared callback endpoints. Resolves the provider, exchanges the * authoriz
packages/sso/src/routes/sso.ts:1354
↓ 2 callersFunctionhandleTransfer
( ctx: GenericEndpointContext, payload: { client_id: string; state: string; code_challenge: strin
packages/electron/src/index.ts:55
↓ 2 callersFunctionhandler
(request: Request)
packages/better-auth/src/auth/base.ts:38
↓ 2 callersFunctionhandler
()
docs/components/landing/staggered-nav-files.tsx:371
↓ 2 callersFunctionhasBetterAuthCookies
( setCookieHeader: string, cookiePrefix: string | string[], )
packages/electron/src/cookies.ts:114
↓ 2 callersFunctionhasBetterAuthCookies
( setCookieHeader: string, cookiePrefix: string | string[], )
packages/expo/src/client.ts:215
↓ 2 callersFunctionhasChangedField
( current: T | null | undefined, updated: T | null | undefined, fields: readonly (keyof T)[], )
packages/sso/src/routes/providers.ts:112
↓ 2 callersFunctionhasDependency
(packageJson: any, dependency: string)
packages/cli/src/utils/get-package-info.ts:138
↓ 2 callersFunctionhasPermissionFn
( input: HasPermissionBaseInput, acRoles: { [x: string]: Role<Statements> | undefined; }, )
packages/better-auth/src/plugins/organization/permission.ts:5
↓ 2 callersFunctionhasSAMLEncryptedAssertion
(samlContent: string)
packages/sso/src/saml/response-binding.ts:238
↓ 2 callersFunctionhasSecret
* Reports whether a value may still expose a secret to `util.inspect`, * `JSON.stringify`, or an error serializer. It reads own data properties, * s
packages/core/src/db/secondary-storage-errors.ts:207
↓ 2 callersFunctionhasServerSessionStore
(options: BetterAuthOptions)
packages/better-auth/src/context/store-capabilities.ts:3
↓ 2 callersFunctionhashSessionToken
(token: string)
packages/passkey/src/routes.ts:63
↓ 2 callersFunctionhashToBase64
( data: string | ArrayBuffer, )
packages/telemetry/src/utils/hash.ts:4
↓ 2 callersMethodheaders
()
packages/better-auth/src/cookies/cookies.test.ts:482
↓ 2 callersFunctioninBatchOrder
( batch: ReleaseRewriteContext, generated: Record<string, T>, )
packages/release-tooling/src/release-notes/rewrite.ts:89
↓ 2 callersFunctionincrementOne
( request: IncrementOneRequest, )
packages/scim/src/scim-projection.test.ts:151
↓ 2 callersFunctionindexCalls
( createIndex: ReturnType<typeof createMockDb>["createIndex"], name: string, )
packages/mongo-adapter/src/mongodb-adapter.test.ts:848
↓ 2 callersFunctioninitiateSAMLSignIn
(baseURL: string)
packages/sso/src/saml.test.ts:6882
↓ 2 callersFunctioninitiateSSO
()
packages/scim/src/scim-sso-http-e2e.test.ts:290
← previousnext →1,301–1,400 of 6,819, ranked by callers