Skip to content
Migrating from NextAuth.js v4? Read our migration guide.
API referenceNeon Adapter

@auth/neon-adapter

An official PostgreSQL adapter for Auth.js / NextAuth.js.

Installation

npm install next-auth @auth/neon-adapter

default()

default(client): Adapter

Parameters

ParameterType
clientPool

Returns

Adapter


mapExpiresAt()

mapExpiresAt(account): AdapterAccount

Parameters

ParameterType
accountAdapterAccount

Returns

AdapterAccount

Auth.js © Balázs Orbán and Team - 2024