first commit

This commit is contained in:
Yusron alamsyah
2026-03-13 10:45:28 +07:00
commit 6bb6a1d430
568 changed files with 51753 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
// types/auth.ts
export interface ExtendedUser {
id: string;
name: string;
email: string;
preferred_username: string;
email_verified: boolean;
roles: string[];
client_roles: string[];
permissions?: string[];
given_name?: string;
family_name?: string;
username?: string;
}
export interface ExtendedSession {
user: ExtendedUser;
accessToken: string;
refreshToken: string;
expiresAt: number;
}