MCPcopy Create free account

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

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

↓ 1 callersFunctionforgetPasswordEmailOTP
(opts: RequiredEmailOTPOptions)
packages/better-auth/src/plugins/email-otp/routes.ts:810
↓ 1 callersFunctionforgetSerializedAttributes
()
packages/scim/src/scim-user-patch.test.ts:1054
↓ 1 callersFunctionformBody
(body: unknown)
packages/core/src/social-providers/paypal.test.ts:48
↓ 1 callersFunctionformBody
(body: unknown)
packages/core/src/social-providers/reddit.test.ts:24
↓ 1 callersFunctionformEncode
(value: string)
packages/core/src/oauth2/private-key-jwt-authentication.test.ts:340
↓ 1 callersFunctionformUrlDecode
* Inverse of `formUrlEncode`: decodes a single `application/x-www-form-urlencoded` * value, handling both `+` and `%20` as space.
packages/core/src/oauth2/basic-credentials.ts:22
↓ 1 callersFunctionformUrlEncode
* Encodes a value using `application/x-www-form-urlencoded` per the URL * Living Standard. Differs from `encodeURIComponent` in two ways: it escapes
packages/core/src/oauth2/basic-credentials.ts:14
↓ 1 callersFunctionformatAction
(action: string)
packages/core/src/db/adapter/factory.ts:1679
↓ 1 callersFunctionformatActionLines
( entry: ReleaseEntry, migration: string | undefined, prLink: string, )
packages/release-tooling/src/release-notes/render.ts:40
↓ 1 callersFunctionformatConfigCode
(code: string)
packages/cli/src/commands/init/utility/auth-config.test.ts:7
↓ 1 callersFunctionformatCount
(num: number | null | undefined)
docs/components/landing/hero-readme.tsx:889
↓ 1 callersFunctionformatDate
(date: Date)
docs/components/blog/blog-left-panel.tsx:17
↓ 1 callersFunctionformatDate
(date: Date)
docs/app/blog/[[...slug]]/page.tsx:17
↓ 1 callersFunctionformatFallbackWarning
(fallbacks: ReleaseRewriteFallback[])
packages/release-tooling/src/release-notes/comment.ts:59
↓ 1 callersFunctionformatField
(field: DBFieldAttribute, ctx: CustomResolverContext)
docs/lib/copy-schema/dialects/mysql.ts:17
↓ 1 callersFunctionformatField
(field: DBFieldAttribute, ctx: CustomResolverContext)
docs/lib/copy-schema/dialects/sqlite.ts:17
↓ 1 callersFunctionformatField
(field: DBFieldAttribute, ctx: CustomResolverContext)
docs/lib/copy-schema/dialects/mssql.ts:17
↓ 1 callersFunctionformatField
(field: DBFieldAttribute, ctx: CustomResolverContext)
docs/lib/copy-schema/dialects/postgresql.ts:17
↓ 1 callersFunctionformatForeignKey
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/mysql.ts:39
↓ 1 callersFunctionformatForeignKey
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/sqlite.ts:36
↓ 1 callersFunctionformatForeignKey
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/mssql.ts:36
↓ 1 callersFunctionformatForeignKey
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/postgresql.ts:36
↓ 1 callersFunctionformatIndex
(field: DBFieldAttribute, tableName: string)
docs/lib/copy-schema/dialects/mysql.ts:57
↓ 1 callersFunctionformatIndex
(field: DBFieldAttribute, tableName: string)
docs/lib/copy-schema/dialects/sqlite.ts:47
↓ 1 callersFunctionformatIndex
(field: DBFieldAttribute, tableName: string)
docs/lib/copy-schema/dialects/mssql.ts:49
↓ 1 callersFunctionformatIndex
(field: DBFieldAttribute, tableName: string)
docs/lib/copy-schema/dialects/postgresql.ts:47
↓ 1 callersFunctionformatIndexedColumn
(field: DBFieldAttribute)
docs/lib/copy-schema/dialects/mysql.ts:52
↓ 1 callersFunctionformatMessage
( level: LogLevel, message: string, colorsEnabled: boolean, )
packages/core/src/env/logger.ts:73
↓ 1 callersFunctionformatMethod
(method: string)
packages/core/src/db/adapter/factory.ts:1675
↓ 1 callersFunctionformatNote
(note: string | undefined)
docs/lib/llm-text.ts:64
↓ 1 callersFunctionformatOutput
(data: any, indent = 0)
packages/cli/src/commands/info.ts:375
↓ 1 callersFunctionformatPluginCode
(code: string)
packages/cli/src/commands/init/utility/plugin.test.ts:9
↓ 1 callersFunctionformatPrLink
(entry: ReleaseEntry, repository: string)
packages/release-tooling/src/release-notes/render.ts:34
↓ 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:1671
↓ 1 callersFunctionformatTimestamp
(value: string | null)
demo/nextjs/app/dashboard/scim/settings.tsx:420
↓ 1 callersFunctionformatTransactionId
(transactionId: number)
packages/core/src/db/adapter/factory.ts:1664
↓ 1 callersFunctionformatUserCode
(userCode: string)
packages/better-auth/src/plugins/device-authorization/device-authorization.test.ts:663
↓ 1 callersFunctionfreePort
()
e2e/smoke/test/resource-server.spec.ts:24
↓ 1 callersFunctionfromBase64Url
(value: string)
packages/passkey/test/webauthn.ts:46
↓ 1 callersFunctionfullDocument
(clientId: string, key: SigningKey)
packages/cimd/src/metadata-refresh.test.ts:165
↓ 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:69
↓ 1 callersFunctiongenerateDeviceCode
()
packages/better-auth/src/plugins/device-authorization/routes.ts:174
↓ 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:643
↓ 1 callersFunctiongenerateImport
({ databaseType, tables, options, schemaName, }: { databaseType: "sqlite" | "mysql" | "pg"; tables: Bett
packages/cli/src/generators/drizzle.ts:589
↓ 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 callersFunctiongenerateOTP
(size: number)
packages/better-auth/src/plugins/phone-number/routes.ts:1046
↓ 1 callersFunctiongenerateOpaqueIdentifier
(prefix: string)
packages/scim/src/managed-connections.ts:266
↓ 1 callersFunctiongeneratePasskeyAuthenticationOptions
( opts: RequiredPassKeyOptions, { maxAgeInSeconds }: { maxAgeInSeconds: number }, )
packages/passkey/src/routes.ts:427
↓ 1 callersFunctiongeneratePasskeyRegistrationOptions
( opts: RequiredPassKeyOptions, { maxAgeInSeconds }: { maxAgeInSeconds: number }, )
packages/passkey/src/routes.ts:212
↓ 1 callersFunctiongeneratePublicJwk
(kid: string)
e2e/adapter/test/adapter-factory/cimd-refresh-test-suite.ts:19
↓ 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 callersFunctiongenerateSigningKey
(kid: string)
packages/cimd/src/metadata-refresh.test.ts:22
↓ 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:99
↓ 1 callersFunctiongenerateUserCode
()
packages/better-auth/src/plugins/device-authorization/routes.ts:181
↓ 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 callersFunctionget
(key)
packages/core/src/db/secondary-storage-errors.test.ts:159
↓ 1 callersFunctiongetAcceptedIssuers
( ctx: GenericEndpointContext, opts: OAuthOptions<Scope[]>, )
packages/oauth-provider/src/authorize.ts:231
↓ 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:91
↓ 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:218
↓ 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:178
↓ 1 callersFunctiongetAuthHeaders
(user: TestUser, organizationId?: string)
packages/sso/src/domain-verification.test.ts:106
↓ 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
← previousnext →2,801–2,900 of 6,819, ranked by callers