Skip to main content

Interface: PrismaAdapterModelOptions

Allows mapping the adapter to custom Prisma model names when your schema deviates from defaults.

Example

const adapter = createPrismaAdapter({
client: prisma,
secret: process.env.AUTH_SECRET!,
models: { password: 'userPassword' }
})

Properties

password?

optional password: string;