MCPcopy Create free account

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

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

↓ 1 callersFunctionformatSchemaMismatch
( findings: readonly SchemaFinding[], source: SchemaSource, )
packages/core/src/db/schema-diff.ts:185
↓ 1 callersFunctionformatStep
(step: number, total: number)
packages/core/src/db/adapter/factory.ts:1669
↓ 1 callersFunctionformatTimestamp
(value: string | null)
demo/nextjs/app/dashboard/scim/settings.tsx:420
↓ 1 callersFunctionformatTransactionId
(transactionId: number)
packages/core/src/db/adapter/factory.ts:1662
↓ 1 callersFunctionformatUserCode
(userCode: string)
packages/better-auth/src/plugins/device-authorization/device-authorization.test.ts:662
↓ 1 callersFunctionfreePort
()
e2e/smoke/test/resource-server.spec.ts:24
↓ 1 callersFunctionfromBase64Url
(value: string)
packages/passkey/test/webauthn.ts:46
↓ 1 callersFunctiongenId
()
demo/nextjs/hooks/use-toast.ts:27
↓ 1 callersFunctiongenerate
(options: BetterAuthOptions)
packages/drizzle-adapter/src/relations-v2/generate-drizzle-schema.test.ts:17
↓ 1 callersFunctiongenerateAuthClientConfigCode
({ plugins: pluginsConfig, database: databaseConfig, framework, options, installDependency, }: GenerateAu
packages/cli/src/commands/init/generate-auth-client.ts:8
↓ 1 callersFunctiongenerateAuthConfigCode
({ plugins: pluginsConfig, database: databaseConfig, appName, baseURL, emailAndPassword, socialProviders
packages/cli/src/commands/init/generate-auth.ts:120
↓ 1 callersFunctiongenerateAuthImportPath
( cwd: string, authFilePath: string, routeHandlerPath: string, framework?: Framework, )
packages/cli/src/commands/init/index.ts:203
↓ 1 callersFunctiongenerateBackupCodesFn
(options?: BackupCodeOptions | undefined)
packages/better-auth/src/plugins/two-factor/backup-codes/index.ts:65
↓ 1 callersFunctiongenerateDeviceCode
()
packages/better-auth/src/plugins/device-authorization/routes.ts:209
↓ 1 callersFunctiongenerateFor
( provider: "sqlite" | "mysql" | "pg", options: BetterAuthOptions, )
packages/drizzle-adapter/src/relations-v2/generate-drizzle-schema.test.ts:24
↓ 1 callersFunctiongenerateImport
({ databaseType, tables, options, schemaName, }: { databaseType: "sqlite" | "mysql" | "pg"; tables: Bett
packages/drizzle-adapter/src/relations-v2/generate-drizzle-schema.ts:645
↓ 1 callersFunctiongenerateImport
({ databaseType, tables, options, schemaName, }: { databaseType: "sqlite" | "mysql" | "pg"; tables: Bett
packages/cli/src/generators/drizzle.ts:591
↓ 1 callersFunctiongenerateInnerAuthClientConfigCode
({ plugins, options, installDependency, }: GenerateAuthClientConfigStringOptions)
packages/cli/src/commands/init/utility/auth-client-config.ts:18
↓ 1 callersFunctiongenerateKyselySchema
({ options, file, })
packages/cli/src/generators/kysely.ts:18
↓ 1 callersFunctiongenerateModel
(model: string)
packages/test-utils/src/adapter/create-test-suite.ts:478
↓ 1 callersFunctiongenerateOpaqueIdentifier
(prefix: string)
packages/scim/src/managed-connections.ts:266
↓ 1 callersFunctiongeneratePasskeyAuthenticationOptions
( opts: RequiredPassKeyOptions, { maxAgeInSeconds }: { maxAgeInSeconds: number }, )
packages/passkey/src/routes.ts:420
↓ 1 callersFunctiongeneratePasskeyRegistrationOptions
( opts: RequiredPassKeyOptions, { maxAgeInSeconds }: { maxAgeInSeconds: number }, )
packages/passkey/src/routes.ts:212
↓ 1 callersFunctiongenerateRelayState
( c: GenericEndpointContext, link: | { email: string; userId: string; } | undefined, provid
packages/sso/src/saml-state.ts:11
↓ 1 callersFunctiongenerateRequestID
()
packages/sso/src/saml.test.ts:374
↓ 1 callersFunctiongenerateSchema
( tableName: string, fields: Field[], view: ViewMode, sqlDialect: SQLDialect, drizzleProvider: DrizzlePro
docs/components/docs/mdx-components.tsx:264
↓ 1 callersFunctiongenerateSecretHash
()
packages/cli/src/utils/helper.ts:26
↓ 1 callersFunctiongenerateServerCode
( name: string, description: string | undefined, source: string, sourceUrl: string | undefined, )
packages/cli/src/commands/ai.ts:539
↓ 1 callersFunctiongenerateStructured
(request)
packages/release-tooling/src/ai/generate-structured.ts:72
↓ 1 callersFunctiongenerateToken
( c: GenericEndpointContext, session: { session: Session; user: User; }, )
packages/better-auth/src/plugins/one-time-token/index.ts:98
↓ 1 callersFunctiongenerateUserCode
()
packages/better-auth/src/plugins/device-authorization/routes.ts:216
↓ 1 callersFunctiongeneratedReviewsSchema
(ids: readonly string[])
packages/release-tooling/src/release-notes/schema.ts:114
↓ 1 callersFunctiongeneratedRewritesSchema
(ids: readonly string[])
packages/release-tooling/src/release-notes/schema.ts:108
↓ 1 callersFunctiongeneratorFor
( value: | JSONValue | ((request: Parameters<StructuredGenerator>[0]) => JSONValue), onRequest?: (reques
packages/release-tooling/test/release-rewrite.test.ts:45
↓ 1 callersFunctiongeneratorFor
( value: JSONValue, onRequest?: (request: Parameters<StructuredGenerator>[0]) => void, )
packages/release-tooling/test/changeset-rewrite.test.ts:15
↓ 1 callersFunctionget
()
packages/core/src/context/request-state.ts:78
↓ 1 callersFunctiongetAccessToken
( { client, headers, oauthClient }: TestServer, resource?: string, )
packages/oauth-provider/src/jwt-verification-errors.test.ts:89
↓ 1 callersFunctiongetActiveMember
(options: O)
packages/better-auth/src/plugins/organization/routes/crud-members.ts:787
↓ 1 callersFunctiongetActiveMemberRole
( options: O, )
packages/better-auth/src/plugins/organization/routes/crud-members.ts:1070
↓ 1 callersFunctiongetAllDeviceSessions
(headers: Headers)
demo/nextjs/lib/auth.ts:531
↓ 1 callersFunctiongetAllSecrets
( secret: string | SecretConfig, )
packages/better-auth/src/crypto/jwt.ts:73
↓ 1 callersFunctiongetAllUserOrganizations
(headers: Headers)
demo/nextjs/lib/auth.ts:537
↓ 1 callersFunctiongetAnonUserEmail
( options: AnonymousOptions | undefined, )
packages/better-auth/src/plugins/anonymous/index.ts:90
↓ 1 callersFunctiongetApiKey
({ configurations, schema, deleteAllExpiredApiKeys, }: { configurations: PredefinedApiKeyOptions[]; schem
packages/api-key/src/routes/get-api-key.ts:28
↓ 1 callersFunctiongetApiKeyFromConfig
( ctx: HookEndpointContext, config: PredefinedApiKeyOptions, )
packages/api-key/src/index.ts:133
↓ 1 callersFunctiongetApiKeyFromStorage
* Get API key from secondary storage by hashed key
packages/api-key/src/adapter.ts:216
↓ 1 callersFunctiongetAppNameCode
(appName?: string)
packages/cli/src/commands/init/utility/auth-config.ts:83
↓ 1 callersFunctiongetApplePublicKey
(kid: string)
packages/core/src/social-providers/apple.ts:190
↓ 1 callersFunctiongetAssertionNode
(parsed: XmlNode, response: XmlNode | null)
packages/sso/src/saml/response-binding.ts:251
↓ 1 callersFunctiongetAtomKey
(str: string)
packages/better-auth/src/client/react/index.ts:20
↓ 1 callersFunctiongetAtomKey
(str: string)
packages/better-auth/src/client/lynx/index.ts:20
↓ 1 callersFunctiongetAtomKey
(str: string)
packages/better-auth/src/client/solid/index.ts:21
↓ 1 callersFunctiongetAtomKey
(str: string)
packages/better-auth/src/client/vue/index.ts:25
↓ 1 callersFunctiongetAtomValue
* Get the value of an atom without running the hook.
packages/better-auth/src/plugins/organization/organization.test.ts:3559
↓ 1 callersFunctiongetAudienceRestrictionGroups
(assertion: XmlNode)
packages/sso/src/saml/response-binding.ts:263
↓ 1 callersFunctiongetAuthCode
( clientId: string, codeVerifier: string, scopes = ["openid", "profile"], )
packages/oauth-provider/src/private-key-jwt.test.ts:177
↓ 1 callersFunctiongetAuthHeaders
(user: TestUser, organizationId?: string)
packages/sso/src/domain-verification.test.ts:100
↓ 1 callersFunctiongetAuthHeaders
(user: TestUser)
packages/sso/src/providers.test.ts:405
↓ 1 callersFunctiongetAuthHeaders
()
packages/sso/src/saml.test.ts:1204
↓ 1 callersMethodgetAuthHeaders
(opts: TestAuthOptions)
packages/better-auth/src/plugins/test-utils/types.ts:56
↓ 1 callersFunctiongetAuthenticatorName
( aaguid: string | null | undefined, )
packages/passkey/src/authenticator-metadata.ts:53
↓ 1 callersFunctiongetAuthorizationCode
()
packages/electron/src/proxy.ts:22
↓ 1 callersFunctiongetAuthorizationRequestParameters
( ctx: GenericEndpointContext, settings: AuthorizeEndpointSettings | undefined, )
packages/oauth-provider/src/authorize.ts:136
↓ 1 callersFunctiongetAuthorizationServer
()
packages/oauth-provider/src/client-resource.ts:68
↓ 1 callersFunctiongetAuthorizeRedirectUri
( auth: { handler: (request: Request) => Promise<Response> }, signInPath: string, host: string, provid
packages/better-auth/src/plugins/generic-oauth/generic-oauth.test.ts:6294
↓ 1 callersFunctiongetAvailableORMs
()
packages/cli/src/commands/init/utility/database.ts:96
↓ 1 callersFunctiongetAvailablePaths
(version: DocsVersion)
docs/app/docs/layout.tsx:21
↓ 1 callersFunctiongetAvailablePort
()
e2e/integration/nextjs-demo/e2e/scim-demo.spec.ts:38
↓ 1 callersFunctiongetBaseURLCode
(baseURL?: string)
packages/cli/src/commands/init/utility/auth-config.ts:91
↓ 1 callersFunctiongetBearerSubjectConfirmationData
(assertion: XmlNode)
packages/sso/src/saml/response-binding.ts:299
↓ 1 callersFunctiongetBetterAuthInfo
( projectRoot: string, configPath?: string, suppressLogs = false, )
packages/cli/src/commands/info.ts:345
↓ 1 callersFunctiongetBetterAuthVersion
()
packages/core/src/context/global.ts:62
↓ 1 callersFunctiongetBuiltinAsyncLocalStorage
()
packages/core/src/async_hooks/index.ts:8
↓ 1 callersFunctiongetCleanCookies
* Get all cookies that should be cleaned (removed)
packages/better-auth/src/cookies/session-store.ts:136
↓ 1 callersFunctiongetCliPath
()
packages/cli/test/utils.ts:7
↓ 1 callersFunctiongetClientEndpoint
( ctx: GenericEndpointContext & { query: { client_id: string } }, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/oauthClient/endpoints.ts:33
↓ 1 callersFunctiongetClientIdUrlWarnings
(url: string)
packages/cimd/src/validate-metadata-document.ts:120
↓ 1 callersFunctiongetClientsEndpoint
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/oauthClient/endpoints.ts:99
↓ 1 callersFunctiongetCognitoPublicKey
( kid: string, region: string, userPoolId: string, )
packages/core/src/social-providers/cognito.ts:246
↓ 1 callersFunctiongetCommunityPlugins
()
docs/lib/plugins.ts:236
↓ 1 callersFunctiongetComposedSchemaItem
( schemas: OpenAPISchema[] | undefined, index: number, )
packages/better-auth/src/plugins/open-api/open-api.test.ts:33
↓ 1 callersFunctiongetConfiguredRateLimitWindows
(ctx: AuthContext)
packages/better-auth/src/api/rate-limiter/index.ts:248
↓ 1 callersFunctiongetConfirmationCookie
(response: Response)
packages/oauth-provider/src/logout.test.ts:129
↓ 1 callersFunctiongetConfirmedLogoutRedirect
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, state: LogoutConfirmationState, )
packages/oauth-provider/src/logout.ts:767
↓ 1 callersFunctiongetConnection
()
e2e/adapter/test/kysely-adapter/adapter.kysely.mysql-serial-insert-id.test.ts:81
↓ 1 callersFunctiongetConsentEndpoint
( ctx: GenericEndpointContext & { query: { id: string } }, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/oauthConsent/endpoints.ts:22
↓ 1 callersFunctiongetConsentsEndpoint
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/oauthConsent/endpoints.ts:50
↓ 1 callersFunctiongetContent
(content: string)
docs/app/changelog/page.tsx:40
↓ 1 callersFunctiongetContentDirectory
(version: DocsVersion)
docs/source.config.ts:31
↓ 1 callersFunctiongetContributorAvatarLinks
(usernames: string[])
docs/app/changelog/page.tsx:31
↓ 1 callersFunctiongetContributors
()
docs/lib/community-stats.ts:18
↓ 1 callersFunctiongetCookie
(name: string)
packages/better-auth/src/cookies/index.ts:585
↓ 1 callersFunctiongetCookie
(page: Page, name: string)
e2e/integration/waku/e2e/waku.spec.ts:45
↓ 1 callersFunctiongetCookieHeader
(response: Response)
packages/scim/src/scim-sso-registration.test.ts:16
↓ 1 callersFunctiongetCookieValue
(name: string)
packages/better-auth/src/plugins/last-login-method/client.ts:26
↓ 1 callersFunctiongetCookieValue
(entry: string)
packages/better-auth/src/plugins/two-factor/two-factor.security.test.ts:57
↓ 1 callersMethodgetCookies
( opts: TestAuthOptions & { domain?: string }, )
packages/better-auth/src/plugins/test-utils/types.ts:57
↓ 1 callersFunctiongetCryptoKey
(secret: string | BufferSource)
packages/better-auth/src/crypto/index.ts:100
↓ 1 callersFunctiongetCurrentSecret
(secret: string | SecretConfig)
packages/better-auth/src/crypto/jwt.ts:62
↓ 1 callersFunctiongetDatabaseCode
(database?: DatabasesConfig | null)
packages/cli/src/commands/init/utility/auth-config.ts:106
← previousnext →2,701–2,800 of 6,486, ranked by callers