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