NextAuth Session 更新
相较于之前的登录登出,本篇教程增加了 4 个文件。
src/
├── app/
│ ├── api/
│ │ └── auth/
│ │ └── […nextauth]/
│ │ └── route.ts
│ ├── client/
│ │ └── page.tsx
│ └── ui/
│ └── update_button.tsx
└── auth_wrapper.tsx