21 lines
340 B
TypeScript
21 lines
340 B
TypeScript
declare module '#auth-utils' {
|
|
interface User {
|
|
keycloakId: string
|
|
name: string
|
|
organizations: Organization[]
|
|
}
|
|
|
|
interface UserSession {
|
|
name: string
|
|
organizations: Organization[]
|
|
loggedInAt: number
|
|
jwt: {
|
|
accessToken: string
|
|
refreshToken: string
|
|
expiresIn: number
|
|
}
|
|
}
|
|
}
|
|
|
|
export {}
|