feat(center-auth): implement register/login/refresh/logout with bcrypt and DTO validation
This commit is contained in:
7
Fabric.Backend.Center/src/auth/dto.refresh.dto.ts
Normal file
7
Fabric.Backend.Center/src/auth/dto.refresh.dto.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { IsString, MinLength } from 'class-validator';
|
||||
|
||||
export class RefreshDto {
|
||||
@IsString()
|
||||
@MinLength(16)
|
||||
refreshToken!: string;
|
||||
}
|
||||
Reference in New Issue
Block a user