procurement-frontend2/lib/next-auth.d.ts

26 lines
437 B
TypeScript
Raw Permalink Normal View History

2024-08-25 07:46:32 +00:00
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;
}
}