MCPcopy Create free account

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

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

↓ 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:174
↓ 2 callersFunctiongetSignedQueryIssuedAt
(oauthQuery: string)
packages/oauth-provider/src/signed-query.ts:65
↓ 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 callersFunctiongetSupportedAuthMethods
( opts: OAuthOptions<Scope[]>, settings?: { includeNone?: boolean }, )
packages/oauth-provider/src/extensions.ts:281
↓ 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:1300
↓ 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 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:6824
↓ 2 callersFunctioninitiateSSO
()
packages/scim/src/scim-sso-http-e2e.test.ts:290
↓ 2 callersFunctioninsensitiveEq
(column: DrizzleColumn, value: string)
packages/drizzle-adapter/src/query-builders.ts:82
↓ 2 callersFunctioninsensitiveIn
(recordVal: unknown, values: unknown[])
packages/memory-adapter/src/query-builders.ts:13
↓ 2 callersFunctioninsensitiveInArray
( column: DrizzleColumn, values: string[], )
packages/drizzle-adapter/src/query-builders.ts:50
↓ 2 callersFunctioninsensitiveNe
(column: DrizzleColumn, value: string)
packages/drizzle-adapter/src/query-builders.ts:89
↓ 2 callersFunctioninsensitiveNotInArray
( column: DrizzleColumn, values: string[], )
packages/drizzle-adapter/src/query-builders.ts:66
↓ 2 callersFunctioninsertRandom
( model: M, count: Count = 1 as Count, )
packages/test-utils/src/adapter/create-test-suite.ts:541
↓ 2 callersFunctionintrospectPostgresTables
( db: Kysely<unknown>, schemas: readonly string[], )
packages/kysely-adapter/src/schema-check.ts:124
↓ 2 callersFunctionintrospectSqliteTables
( db: Kysely<unknown>, tableNames: readonly string[], )
packages/kysely-adapter/src/sqlite-introspector.ts:101
↓ 2 callersFunctioninvalid
(errorKey: keyof typeof TWO_FACTOR_ERROR_CODES)
packages/better-auth/src/plugins/two-factor/verify-two-factor.ts:24
↓ 2 callersFunctioninvalidClient
(description: string)
packages/cimd/src/client-store.ts:45
↓ 2 callersFunctioninvalidRedirectUri
(description: string)
packages/oauth-provider/src/register.ts:175
↓ 2 callersFunctioninvalidTokenError
* A presented access token that failed validation. RFC 6750 §3.1 reserves the * `invalid_token` code for this case, and resource-server challenges re
packages/core/src/oauth2/verify.ts:42
↓ 2 callersFunctioninvalidateRefreshFamily
( ctx: GenericEndpointContext, clientId: string, userId: string, )
packages/oauth-provider/src/token.ts:612
↓ 2 callersFunctioninvalidateSchemaChecks
(database: object)
packages/core/src/db/schema-check.ts:40
↓ 2 callersFunctionipToBytes
* Raw bytes of an IP for CIDR comparison. Returns `null` for an invalid IP.
packages/core/src/utils/ip.ts:224
↓ 2 callersFunctionisActive
(tab: Tab)
demo/nextjs/components/ui/tabs2.tsx:115
↓ 2 callersFunctionisBun
()
packages/core/src/env/runtime.ts:17
↓ 2 callersFunctionisCimdClientIdUrlCandidate
(clientId: string)
packages/cimd/src/validate-metadata-document.ts:53
↓ 2 callersFunctionisDefaultConfigId
( configId: string | null | undefined, )
packages/api-key/src/routes/index.ts:76
↓ 2 callersFunctionisDeno
()
packages/core/src/env/runtime.ts:15
↓ 2 callersFunctionisDocker
()
packages/telemetry/src/node.ts:190
↓ 2 callersFunctionisDpopBindingError
(error: unknown)
packages/core/src/oauth2/dpop.ts:531
↓ 2 callersFunctionisDpopProofError
(error: unknown)
packages/core/src/oauth2/dpop.ts:193
↓ 2 callersFunctionisEmbedded
True when embedded cross-origin, where the cookie may be partitioned.
packages/better-auth/src/plugins/oauth-popup/client.ts:50
↓ 2 callersFunctionisExactLoopbackHttpRedirectUri
(redirectUri: string)
packages/oauth-provider/src/register.ts:195
↓ 2 callersFunctionisExtensionTokenEndpointAuthMethod
( opts: OAuthOptions<Scope[]>, method: TokenEndpointAuthMethod | undefined, )
packages/oauth-provider/src/extensions.ts:294
↓ 2 callersFunctionisFetching
(entry: JwksCacheEntry, now: number)
packages/core/src/oauth2/verify.ts:126
↓ 2 callersFunctionisHttpRedirectStatus
(status: number)
packages/sso/src/oidc/discovery.ts:40
↓ 2 callersFunctionisInsecureRedirectUriAllowed
( opts: OAuthOptions<Scope[]>, url: URL, )
packages/oauth-provider/src/utils/index.ts:1333
↓ 2 callersFunctionisInteractive
()
packages/cli/src/utils/interactive.ts:4
↓ 2 callersFunctionisIntrospectionAuthorized
* Authorizes an introspection request (RFC 7662 §2.1/§4). The caller is already * authenticated as a registered client; it may introspect the token w
packages/oauth-provider/src/introspect.ts:97
↓ 2 callersFunctionisKyselyDialect
(adapter: string)
packages/cli/src/commands/init/utility/database.ts:49
↓ 2 callersFunctionisMaintenanceBranch
(branch: string)
packages/release-tooling/src/change-classifier.ts:224
↓ 2 callersFunctionisMissingValueIssue
(issue: z.core.$ZodIssue)
packages/oauth-provider/src/oauth-endpoint.ts:274
↓ 2 callersFunctionisNode
()
packages/core/src/env/runtime.ts:23
↓ 2 callersFunctionisNullableField
(field: string)
packages/prisma-adapter/src/prisma-adapter.ts:273
↓ 2 callersFunctionisOAuthScopeToken
(value: string)
packages/core/src/oauth2/verify.ts:602
↓ 2 callersFunctionisPKCERequired
( client: SchemaClient<Scope[]>, request?: AuthorizationPKCEContext, )
packages/oauth-provider/src/utils/index.ts:1279
↓ 2 callersFunctionisPasswordCompromised
( password: string, )
packages/better-auth/src/plugins/haveibeenpwned/index.ts:52
↓ 2 callersFunctionisRSAPrivateJWK
(value: unknown)
demo/nextjs/lib/scim-demo-oidc.ts:380
↓ 2 callersFunctionisRecord
(value: unknown)
packages/scim/src/resource-attribute-projection.ts:83
↓ 2 callersFunctionisRecord
(value: unknown)
packages/scim/src/group-provisioning.ts:249
↓ 2 callersFunctionisSCIMDemoManagementRole
(role: string)
demo/nextjs/lib/scim-demo-management.ts:110
↓ 2 callersFunctionisSCIMDemoV2Subject
(value: unknown)
demo/nextjs/lib/scim-demo-identity.ts:116
↓ 2 callersFunctionisSCIMIdentityMutationConflict
( error: unknown, )
packages/scim/src/identity.ts:198
↓ 2 callersFunctionisSafeCustomRedirectUri
* Keep URI syntax and credential checks outside the custom trust decision. * Callers apply the HTTPS policy first.
packages/oauth-provider/src/authorize.ts:343
↓ 2 callersFunctionisSafeSAMLRedirectPath
(url: string)
packages/sso/src/utils.ts:6
↓ 2 callersFunctionisServerOnlyError
(e: unknown)
packages/cli/src/utils/get-config.ts:302
↓ 2 callersMethodisStringLiteral
(node: unknown)
packages/cli/src/utils/get-config.ts:188
↓ 2 callersFunctionisSupportedEcSigningCurve
( curve: unknown, )
packages/oauth-provider/src/client-jwks.ts:53
↓ 2 callersFunctionisSupportedOkpSigningCurve
( curve: unknown, )
packages/oauth-provider/src/client-jwks.ts:65
↓ 2 callersFunctionisUserDelegatedScope
(scope: string)
packages/oauth-provider/src/oauthClient/client-credentials.ts:12
↓ 2 callersFunctionisValidSiweNonce
(nonce: string | undefined)
packages/better-auth/src/plugins/siwe/index.ts:57
↓ 2 callersFunctionisWithinRefreshTokenReuseInterval
( refreshToken: OAuthRefreshToken<Scope[]>, )
packages/oauth-provider/src/token.ts:1127
↓ 2 callersFunctionissueIdTokenFor
* Issues the next ID token for `sub`, so it names the same subject as the * UserInfo response. * * @see https://openid.net/specs/openid-connect-
packages/better-auth/src/plugins/generic-oauth/generic-oauth.test.ts:148
← previousnext →1,301–1,400 of 6,486, ranked by callers