feat(center-auth): implement register/login/refresh/logout with bcrypt and DTO validation

This commit is contained in:
nav
2026-05-12 08:47:44 +00:00
parent 97528ce2c5
commit 3ad8cc3a56
12 changed files with 404 additions and 13 deletions

View File

@@ -0,0 +1,7 @@
import { IsString, MinLength } from 'class-validator';
export class RefreshDto {
@IsString()
@MinLength(16)
refreshToken!: string;
}