Skip to main content

AdminSignupSocialResponseDTO

Package: @nauth-toolkit/core Type: DTO (Response)

Response for administrative social user import containing the created user object and social account linkage confirmation.

import { AdminSignupSocialResponseDTO } from '@nauth-toolkit/nestjs';

Properties

PropertyTypeDescription
socialAccount{ provider: string; providerId: string; providerEmail: string | null }Social account linkage confirmation.
userUserResponseDTOCreated user object (sanitized, excludes sensitive fields).

Example

{
"user": {
"sub": "user-uuid-123",
"email": "user@example.com",
"isEmailVerified": true,
"hasSocialAuth": true,
"socialProviders": ["google"]
},
"socialAccount": {
"provider": "google",
"providerId": "google_12345",
"providerEmail": "user@gmail.com"
}
}