src/auth/dto/refresh-token.dto.ts
Describes the information needed to logout an User of the application
Properties |
refreshToken |
Type : string
|
Decorators :
@IsJWT()
|
Defined in src/auth/dto/refresh-token.dto.ts:10
|
User refresh token
|
import { IsJWT } from 'class-validator';
/** Describes the information needed to logout an User of the application */
export class RefreshTokenDto {
/**
* User refresh token
* @example "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
*/
@IsJWT()
refreshToken: string;
}