@auth/pg-adapter
Auth.js / NextAuth.js 的官方 PostgreSQL 适配器。
安装
npm install next-auth @auth/pg-adapter pgdefault()
default(client): Adapter参数
| 参数 | 类型 |
|---|---|
客户端 | 池 |
返回值
mapExpiresAt()
mapExpiresAt(account): any参数
| 参数 | 类型 |
|---|---|
账户 | any |
返回值
any
Auth.js / NextAuth.js 的官方 PostgreSQL 适配器。
npm install next-auth @auth/pg-adapter pgdefault(client): Adapter| 参数 | 类型 |
|---|---|
客户端 | 池 |
mapExpiresAt(account): any| 参数 | 类型 |
|---|---|
账户 | any |
any