@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
Parameter | Type |
---|---|
client | Pool |
Returns
mapExpiresAt()
mapExpiresAt(account): any
Parameters
Parameter | Type |
---|---|
account | any |
Returns
any