File

src/auth/dto/refresh-token.dto.ts

Description

Describes the information needed to logout an User of the application

Index

Properties

Properties

refreshToken
Type : string
Decorators :
@IsJWT()

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;
}

results matching ""

    No results matching ""