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