basalt / auth-prisma/src / PrismaUserSourceOptions
Interface: PrismaUserSourceOptions
Defined in: auth-prisma/src/index.ts:294
Options every auth store (and prismaAuthStores) takes.
Extends
Properties
columnLimits?
> optional columnLimits?: "mysql" | ColumnLimits<{ AuthAccountLink: "id" | "email" | "userId" | "provider" | "subject"; AuthApiKey: "id" | "tenantId" | "hash" | "userId" | "name" | "prefix"; AuthMfa: "userId" | "secret"; AuthPasskey: "id" | "userId" | "credentialId" | "publicKey" | "transports" | "deviceName"; AuthRefreshToken: "userId" | "token" | "familyId"; AuthSession: "id" | "userId"; AuthToken: "userId" | "token" | "purpose"; AuthTokenVersion: "userId"; AuthUser: "id" | "email" | "passwordHash"; }>
Defined in: auth-prisma/src/index.ts:268
Refuse (throw ColumnLengthError) a value longer than its column instead of letting the database truncate it — on MySQL outside strict mode a cut password hash never verifies and a cut sealed TOTP secret no longer opens. 'mysql' uses the limits of the bundled schema.mysql.prisma; pass an object for a schema of your own. Default: unchecked (PostgreSQL and SQLite store any length).
Inherited from
PrismaAuthStoreOptions.columnLimits
idChunkSize?
> optional idChunkSize?: number
Defined in: auth-prisma/src/index.ts:296
Ids per IN (…) query in findByIds. Default DEFAULT_ID_CHUNK_SIZE (500).