init
This commit is contained in:
16
types/next-auth.d.ts
vendored
Normal file
16
types/next-auth.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user