File

src/auth/dtos/mfa-validate-user.dto.ts

Index

Properties

Properties

sessionToken
Type : string
Decorators :
@ApiProperty({type: 'string', required: true})
@IsString()
userCode
Type : string
Decorators :
@ApiProperty({type: 'string', required: true})
@IsString()
import { ApiProperty } from "@nestjs/swagger";
import { IsString } from "class-validator";

export class MfaValidateUserDto {
  @ApiProperty({
    type: "string",
    required: true,
  })
  @IsString()
  userCode: string;

  @ApiProperty({
    type: "string",
    required: true,
  })
  @IsString()
  sessionToken: string;
}

results matching ""

    No results matching ""