forked from Transparency/kgroad-frontend2
26 lines
446 B
TypeScript
26 lines
446 B
TypeScript
import NextAuth from "next-auth";
|
|
|
|
declare module "next-auth" {
|
|
interface Session {
|
|
refresh_token: string;
|
|
access_token: string;
|
|
expires_in?: string;
|
|
}
|
|
|
|
interface User {
|
|
refresh_token: string;
|
|
access_token: string;
|
|
expires_in?: string;
|
|
}
|
|
}
|
|
|
|
import { JWT } from "next-auth/jwt";
|
|
|
|
declare module "next-auth/jwt" {
|
|
interface JWT {
|
|
refresh_token: string;
|
|
access_token: string;
|
|
expires_in?: string;
|
|
}
|
|
}
|