17 lines
255 B
TypeScript
17 lines
255 B
TypeScript
|
|
import "next-auth";
|
||
|
|
import "next-auth/jwt";
|
||
|
|
|
||
|
|
declare module "next-auth" {
|
||
|
|
interface Session {
|
||
|
|
idToken?: string;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
declare module "next-auth/jwt" {
|
||
|
|
interface JWT {
|
||
|
|
keycloakId?: string;
|
||
|
|
idToken?: string;
|
||
|
|
accessToken?: string;
|
||
|
|
}
|
||
|
|
}
|