AdminSignupSocialResponseDTO
Package: @nauth-toolkit/core
Type: DTO (Response)
Response for administrative social user import containing the created user object and social account linkage confirmation.
- NestJS
- Express
- Fastify
import { AdminSignupSocialResponseDTO } from '@nauth-toolkit/nestjs';
import { AdminSignupSocialResponseDTO } from '@nauth-toolkit/core';
import { AdminSignupSocialResponseDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Description |
|---|---|---|
socialAccount | { provider: string; providerId: string; providerEmail: string | null } | Social account linkage confirmation. |
user | UserResponseDTO | Created 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"
}
}
Related
AdminAuthService.signupSocial()- Returns this DTOAdminSignupSocialDTO- Request DTO