MCPcopy Create free account

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

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

↓ 1 callersFunctiongetMaxCookieValueSize
* Largest value that keeps the serialized cookie within {@link MAX_COOKIE_SIZE}, * measured with the real `serializeCookie` writer so it stays in syn
packages/better-auth/src/cookies/session-store.ts:32
↓ 1 callersFunctiongetMcpConfigPath
( tool: string, scope: "project" | "global", )
packages/cli/src/commands/ai.ts:701
↓ 1 callersFunctiongetMdxFiles
(directory: string)
docs/scripts/validate-links.ts:65
↓ 1 callersFunctiongetMentionUsernames
(line: string)
docs/app/changelog/page.tsx:23
↓ 1 callersFunctiongetMicrosoftProfileName
(profile: MicrosoftEntraIdProfile)
packages/better-auth/src/plugins/generic-oauth/providers/microsoft-entra-id.ts:37
↓ 1 callersFunctiongetMicrosoftPublicKey
( kid: string, tenant: string, authority: string, )
packages/core/src/social-providers/microsoft-entra-id.ts:368
↓ 1 callersFunctiongetMongodb
()
packages/better-auth/src/test-utils/test-instance.ts:155
↓ 1 callersFunctiongetMysql
()
packages/better-auth/src/test-utils/test-instance.ts:137
↓ 1 callersFunctiongetNameFromLocalPackageJson
()
packages/telemetry/src/node.ts:80
↓ 1 callersFunctiongetNameFromLocalPackageJson
()
packages/telemetry/src/utils/package-json.ts:11
↓ 1 callersFunctiongetNavigationSections
(tree: Root)
docs/components/docs/docs-sidebar.tsx:43
↓ 1 callersFunctiongetNewPrisma
(provider: string, cwd?: string)
packages/cli/src/generators/prisma.ts:855
↓ 1 callersFunctiongetNodeInfo
()
packages/cli/src/commands/info.ts:61
↓ 1 callersFunctiongetNodeKey
(node: Node, index: number)
docs/components/docs/docs-sidebar.tsx:442
↓ 1 callersFunctiongetNodeLabel
(node: Extract<Node, { type: "page" }>)
docs/app/docs/provider.tsx:58
↓ 1 callersFunctiongetNodeText
(node: MarkdownNode)
docs/scripts/validate-links.ts:22
↓ 1 callersFunctiongetNumberClaim
( payload: JWTPayload, claim: string, )
packages/core/src/oauth2/dpop.ts:280
↓ 1 callersFunctiongetOAuthJwtAccessToken
()
packages/oauth-provider/src/introspect.test.ts:1329
↓ 1 callersFunctiongetOAuthStateValue
( cookieJson: string | null, cookiePrefix: string | string[], )
packages/expo/src/client.ts:121
↓ 1 callersFunctiongetOIDCErrorDescription
(error: unknown, fallback: string)
packages/sso/src/routes/sso.ts:1324
↓ 1 callersMethodgetOTP
(identifier: string)
packages/better-auth/src/plugins/test-utils/types.ts:62
↓ 1 callersFunctiongetOfficialPlugins
()
docs/lib/plugins.ts:211
↓ 1 callersFunctiongetOpenApiTypeFromZodType
(zodType: z.ZodType<unknown>)
packages/better-auth/src/plugins/open-api/generator.ts:100
↓ 1 callersFunctiongetOperationId
( operationId: string | undefined, method: string, usedOperationIds: Set<string>, )
packages/better-auth/src/plugins/open-api/generator.ts:846
↓ 1 callersFunctiongetOrgOptions
* Gets the organization plugin options from the context. * Returns null if the organization plugin is not installed.
packages/api-key/src/org-authorization.ts:32
↓ 1 callersFunctiongetOrgRole
(options: O)
packages/better-auth/src/plugins/organization/routes/crud-access-control.ts:682
↓ 1 callersFunctiongetOrganization
(options: O)
packages/better-auth/src/plugins/organization/routes/crud-org.ts:651
↓ 1 callersFunctiongetOrigin
(scheme: string)
packages/expo/src/client.ts:148
↓ 1 callersFunctiongetPackageManager
()
packages/cli/src/commands/info.ts:68
↓ 1 callersFunctiongetParameters
(options: EndpointOptions)
packages/better-auth/src/plugins/open-api/generator.ts:225
↓ 1 callersFunctiongetPasswordCompromiseCount
(response: string, hashSuffix: string)
packages/better-auth/src/plugins/haveibeenpwned/index.ts:23
↓ 1 callersFunctiongetPathParameter
(path: Path | undefined, parameterName: string)
packages/better-auth/src/plugins/open-api/open-api.test.ts:44
↓ 1 callersFunctiongetPathParameters
(path: string, parameters: OpenAPIParameter[])
packages/better-auth/src/plugins/open-api/generator.ts:252
↓ 1 callersFunctiongetPkgManagerStr
({ packageManager, version, }: { packageManager: PackageManager; version?: string | null | undefined; })
packages/cli/src/utils/check-package-managers.ts:164
↓ 1 callersFunctiongetPlanByName
(options: StripeOptions, name: string)
packages/stripe/src/utils.ts:25
↓ 1 callersFunctiongetPostRequestBody
( paths: Record<string, Path>, path: string, )
packages/better-auth/src/plugins/open-api/open-api.test.ts:14
↓ 1 callersFunctiongetPostgres
()
packages/better-auth/src/test-utils/test-instance.ts:109
↓ 1 callersFunctiongetProjectId
(baseUrl: string | undefined)
packages/telemetry/src/node.ts:242
↓ 1 callersFunctiongetProjectId
( baseUrl: string | undefined, )
packages/telemetry/src/project-id.ts:7
↓ 1 callersFunctiongetProtocol
(url: string)
packages/better-auth/src/utils/url.ts:207
↓ 1 callersFunctiongetProvider
(providerId: string)
packages/sso/src/domain-verification-concurrency.test.ts:102
↓ 1 callersFunctiongetProviderAuthorizationOrigin
( ctx: GenericEndpointContext, provider: OAuthProvider, )
packages/expo/src/routes.ts:20
↓ 1 callersFunctiongetProvisioningCounts
( db: Awaited<ReturnType<typeof getHttpTestInstance>>["db"], )
packages/scim/src/scim-sso-registration.test.ts:23
↓ 1 callersFunctiongetRSS
()
docs/lib/rss.ts:5
↓ 1 callersFunctiongetRateLimitStorage
( ctx: AuthContext, rateLimitSettings: { window: number; }, )
packages/better-auth/src/api/rate-limiter/index.ts:271
↓ 1 callersFunctiongetRatelimit
()
docs/lib/ai-chat/rate-limit.ts:5
↓ 1 callersFunctiongetRatelimit
()
docs/app/api/enterprise/contact/route.ts:9
↓ 1 callersFunctiongetRawHttpHostname
(redirectUri: string)
packages/oauth-provider/src/register.ts:224
↓ 1 callersFunctiongetReferencePath
(field: DBFieldAttribute)
packages/better-auth/src/db/get-migration.ts:970
↓ 1 callersFunctiongetRefreshTokenRotationReplay
( ctx: GenericEndpointContext, refreshToken: OAuthRefreshToken<Scope[]>, request: RefreshTokenRotationRepla
packages/oauth-provider/src/token.ts:1164
↓ 1 callersFunctiongetReportedOrigin
(clientDataJSON: unknown)
packages/passkey/src/utils.ts:78
↓ 1 callersFunctiongetRequestBody
( options: EndpointOptions, )
packages/better-auth/src/plugins/open-api/generator.ts:438
↓ 1 callersFunctiongetRequestBodySchemaInfo
(zodType: z.ZodType<unknown>)
packages/better-auth/src/plugins/open-api/generator.ts:274
↓ 1 callersFunctiongetRequestProperties
(document: unknown)
packages/oauth-provider/src/device-code.test.ts:177
↓ 1 callersFunctiongetRequestScopedRolesCache
( ctx: GenericEndpointContext, options: HasPermissionBaseInput["options"], )
packages/better-auth/src/plugins/organization/has-permission.ts:24
↓ 1 callersFunctiongetRequiredSCIMScope
(path: string, method: string)
packages/scim/src/connection-authentication.ts:34
↓ 1 callersFunctiongetResolveContext
(ctx: GenericEndpointContext)
packages/better-auth/src/plugins/last-login-method/index.ts:98
↓ 1 callersFunctiongetResourceByIdentifierEndpoint
( ctx: GenericEndpointContext & { params: { identifier: string } }, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/oauthResource/endpoints.ts:136
↓ 1 callersFunctiongetResourceCustomClaims
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, resourceIdentifiers: string[], )
packages/oauth-provider/src/resources.ts:590
↓ 1 callersFunctiongetResponse
( responses?: Record<string, OpenAPIResponse> | undefined, )
packages/better-auth/src/plugins/open-api/generator.ts:733
↓ 1 callersFunctiongetResponseNode
(parsed: XmlNode)
packages/sso/src/saml/response-binding.ts:247
↓ 1 callersFunctiongetReturnedSSOProviderAdditionalFields
( provider: Record<string, unknown>, options?: SSOOptions, )
packages/sso/src/routes/providers.ts:387
↓ 1 callersFunctiongetSAMLResponseBindingContent
( sp: ReturnType<typeof createSP>, samlContent: string, )
packages/sso/src/routes/saml-pipeline.ts:221
↓ 1 callersFunctiongetSCIMCoreAttributePrefix
Return the case-insensitive prefix accepted on core attribute paths.
packages/scim/src/resource-schema-registry.ts:86
↓ 1 callersFunctiongetSCIMDemoBaseURL
()
demo/nextjs/lib/scim-demo-identity.ts:64
↓ 1 callersFunctiongetSCIMDemoIdentityKey
()
demo/nextjs/lib/scim-demo-identity.ts:54
↓ 1 callersFunctiongetSCIMDemoIdentitySecret
()
demo/nextjs/lib/scim-demo-identity.ts:44
↓ 1 callersFunctiongetSCIMDemoManagementError
(error: unknown)
demo/nextjs/lib/scim-demo-management.ts:81
↓ 1 callersFunctiongetSCIMDemoOIDCAuthorizationPageURL
( request: SCIMDemoOIDCAuthorizationRequest, )
demo/nextjs/lib/scim-demo-oidc.ts:289
↓ 1 callersFunctiongetSCIMDemoOIDCJWKS
()
demo/nextjs/lib/scim-demo-oidc.ts:479
↓ 1 callersFunctiongetSCIMDemoOIDCProvider
()
demo/nextjs/lib/scim-demo-oidc.ts:338
↓ 1 callersFunctiongetSCIMDemoV2SubjectMessage
( connectionId: string, userKey: SCIMDemoUserKey, )
demo/nextjs/lib/scim-demo-identity.ts:81
↓ 1 callersFunctiongetSCIMGroup
(authMiddleware: SCIMConnectionMiddleware)
packages/scim/src/group-provisioning.ts:1044
↓ 1 callersFunctiongetSCIMPatchContainer
( document: Record<string, unknown>, enterprise: boolean, create: boolean, )
packages/scim/src/user-patch.ts:580
↓ 1 callersFunctiongetSCIMUser
(authMiddleware: SCIMConnectionMiddleware)
packages/scim/src/user-provisioning.ts:811
↓ 1 callersFunctiongetSSOProvider
(options?: SSOOptions)
packages/sso/src/routes/providers.ts:678
↓ 1 callersFunctiongetSSOProviderBuiltInFieldName
( options: SSOOptions | undefined, key: SSOProviderBuiltInFieldKey, )
packages/sso/src/index.ts:204
↓ 1 callersFunctiongetSafeRedirectCandidate
( url: string | undefined, callbackPathname: string, appOrigin: string, isTrustedOrigin: IsTrustedOrigin,
packages/sso/src/routes/saml-pipeline.ts:91
↓ 1 callersFunctiongetSchema
( normalizer: { username: (username: string) => string; displayUsername: (displayUsername: string) => str
packages/better-auth/src/plugins/username/schema.ts:6
↓ 1 callersFunctiongetSchema
(config: BetterAuthOptions)
packages/better-auth/src/db/get-schema.ts:6
↓ 1 callersFunctiongetSchema
( options: O, )
packages/stripe/src/schema.ts:110
↓ 1 callersFunctiongetSchemaProperty
(schema: OpenAPISchema, propertyName: string)
packages/better-auth/src/plugins/open-api/open-api.test.ts:25
↓ 1 callersMethodgetSchemas
()
packages/kysely-adapter/src/d1-sqlite-dialect.ts:191
↓ 1 callersFunctiongetSearchIndex
()
docs/lib/ai-chat/route.ts:43
↓ 1 callersFunctiongetSectorIdentifier
* Extracts the sector identifier (hostname) from a client's first redirect URI. * * @see https://openid.net/specs/openid-connect-core-1_0.html#Pairw
packages/oauth-provider/src/utils/index.ts:1196
↓ 1 callersFunctiongetSeededOptions
(ctx: AuthContext)
packages/oauth-provider/src/resources.ts:854
↓ 1 callersFunctiongetServerContextSignedQueryIssuedAt
(value: unknown)
packages/oauth-provider/src/oauth.ts:125
↓ 1 callersFunctiongetServerOrigins
(ctx: GenericEndpointContext)
packages/passkey/src/utils.ts:67
↓ 1 callersFunctiongetSession
()
demo/nextjs/data/user/session-query.ts:7
↓ 1 callersFunctiongetSession
(headers: Headers)
e2e/adapter/test/kysely-adapter/session-revocation-cutoff.mysql.test.ts:120
↓ 1 callersFunctiongetSessionCookie
()
packages/electron/test/electron.test.ts:1009
↓ 1 callersFunctiongetSessionDefaultFields
(options: BetterAuthOptions)
packages/better-auth/src/db/schema.ts:267
↓ 1 callersFunctiongetSessionHeaders
()
packages/better-auth/src/api/routes/password.test.ts:673
↓ 1 callersFunctiongetSessionPayload
()
packages/better-auth/src/client/query.test.ts:442
↓ 1 callersFunctiongetSessionToken
(requestHeaders: Headers)
packages/oauth-provider/src/backchannel-logout.test.ts:394
↓ 1 callersFunctiongetSessionWithNextHeaders
( nextHeaders: HeadersInit | "unavailable", )
packages/better-auth/src/integrations/next-js.test.ts:11
↓ 1 callersFunctiongetSetCookie
(header: string, prevCookie?: string | undefined)
packages/electron/src/cookies.ts:8
↓ 1 callersFunctiongetSignedOAuthQueryParameterNames
(params: URLSearchParams)
packages/oauth-provider/src/signed-query.ts:47
↓ 1 callersFunctiongetSlotChunkCount
(marker: ChunkMarker | null, slot: ChunkSlot | null)
packages/expo/src/client-storage.ts:268
↓ 1 callersFunctiongetSocialProvidersCode
(providers?: string[])
packages/cli/src/commands/init/utility/auth-config.ts:53
← previousnext →3,001–3,100 of 6,819, ranked by callers