SetPasswordForSocialUserDTO
Package: @nauth-toolkit/core
Type: DTO (Request)
Request DTO for setting a first password on a social-only account.
The account acted on is always the caller's own, resolved from the authenticated request context, so no user identifier is sent.
- NestJS
- Express
- Fastify
import { SetPasswordForSocialUserDTO } from '@nauth-toolkit/nestjs';
import { SetPasswordForSocialUserDTO } from '@nauth-toolkit/core';
import { SetPasswordForSocialUserDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
password | string | Yes | New password. Min 1 char, max 128 chars (actual validation in AuthService). Not trimmed. |
Example
{
"password": "newpassword123"
}