forked from Ynov/ptitspas-ynov-back
12 lines
305 B
TypeScript
12 lines
305 B
TypeScript
import { ApiProperty } from "@nestjs/swagger";
|
|
import { IsString } from "class-validator";
|
|
|
|
export class RefreshTokenDto {
|
|
|
|
@ApiProperty({
|
|
description: 'Token de rafraîchissement',
|
|
example: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...',
|
|
})
|
|
@IsString()
|
|
refresh_token: string;
|
|
} |