src/auth/dtos/mfa-validate-user.dto.ts
Properties |
| sessionToken |
Type : string
|
Decorators :
@ApiProperty({type: 'string', required: true})
|
|
Defined in src/auth/dtos/mfa-validate-user.dto.ts:17
|
| userCode |
Type : string
|
Decorators :
@ApiProperty({type: 'string', required: true})
|
|
Defined in src/auth/dtos/mfa-validate-user.dto.ts:10
|
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;
}