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