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