Skip to main content

AuthUserSummary

Package: @nauth-toolkit/client Type: Response

Minimal user information returned in authentication responses. Contains essential user data without full profile details.

import { AuthUserSummary } from '@nauth-toolkit/client';

Properties

PropertyTypeDescription
substringUser subject identifier (public ID)
emailstringUser email address
firstNamestring | nullUser first name
lastNamestring | nullUser last name
phonestring | nullPhone number in E.164 format
isEmailVerifiedbooleanWhether email is verified
isPhoneVerifiedbooleanWhether phone is verified
socialProvidersstring[] | nullLinked social auth providers
hasPasswordHashbooleanWhether user has a password set

Example

{
"sub": "user_abc123",
"email": "user@example.com",
"firstName": "John",
"lastName": "Doe",
"phone": "+14155551234",
"isEmailVerified": true,
"isPhoneVerified": true,
"socialProviders": ["google"],
"hasPasswordHash": true
}

Used By