// 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;
}
