GetUserByIdDTO
Package: @nauth-toolkit/core
Type: DTO (Request)
Data transfer object for retrieving a user by their unique identifier.
- NestJS
- Express
- Fastify
import { GetUserByIdDTO } from '@nauth-toolkit/nestjs';
import { GetUserByIdDTO } from '@nauth-toolkit/core';
import { GetUserByIdDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
sub | string | Yes | User identifier. UUID v4 format. Trimmed and lowercased. |
Example
{
"sub": "a21b654c-2746-4168-acee-c175083a65cd"
}