User information extracted from authentication tokens or user profiles

interface AuthUserInfo {
    email?: string;
    firstName?: string;
    fullName?: string;
    lastName?: string;
    preferredUsername?: string;
    roles?: string[];
    userId?: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Additional provider-specific claims

Properties

email?: string

User's email address

firstName?: string

User's first name

fullName?: string

User's full display name

lastName?: string

User's last name

preferredUsername?: string

Preferred username or handle

roles?: string[]

User's roles or groups

userId?: string

Unique user identifier from the auth provider