token refresh dto
This commit is contained in:
parent
18945edb51
commit
740b88eceb
12
src/routes/user/dto/refresh_token.dto.ts
Normal file
12
src/routes/user/dto/refresh_token.dto.ts
Normal file
@ -0,0 +1,12 @@
|
||||
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;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user