@auth/neon-adapter
An official PostgreSQL adapter for Auth.js / NextAuth.js.
Installation
npm install next-auth @auth/neon-adapterdefault()
default(client): AdapterParameters
| Parameter | Type |
|---|---|
client | Pool |
Returns
mapExpiresAt()
mapExpiresAt(account): anyParameters
| Parameter | Type |
|---|---|
account | any |
Returns
any