Add sign in function

This commit is contained in:
anime committed 2024-08-25 13:46:32 +06:00
1 parent 38b869084d
commit eb81d45008
10 files changed
+320 -52

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
import NextAuth from "next-auth";
declare module "next-auth" {
interface Session {
refresh_token: string;
access_token: string;
expires_in: Date;
}
interface User {
refresh_token: string;
access_token: string;
expires_in: Date;
}
}
import { JWT } from "next-auth/jwt";
declare module "next-auth/jwt" {
interface JWT {
refresh_token: string;
access_token: string;
expires_in: Date;
}
}