basalt / auth-prisma/src / PrismaAuthStoreOptions
Interface: PrismaAuthStoreOptions
Defined in: auth-prisma/src/index.ts:259
Options every auth store (and prismaAuthStores) takes.
Extended by
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).