import authefyWebClient from './path/to/@authefy/web-client';
await authefyWebClient.user.read('ca10416e530f5f7bb7dfb02940143618')
// returns: User Object
User Object:
type User {
id: string;
externalId?: string;
username: string;
groups: string[];
isEmailVerified: boolean;
isVerified: boolean;
details: Record<string, any>;
}