Add sign in function
This commit is contained in:
1 parent
38b869084d
commit
eb81d45008
10 files changed
+320
-52
No files matched your search
Vendored
+25
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user