feat: Sprint 1 — backend fondations TetaRdPG
Auth SuperOAuth (JWT validation + httpOnly cookie), entités users/characters/level_thresholds, lazy calculation endurance, seed 100 niveaux, config prod-ready (trust proxy, helmet, CORS, rate limit). Validé : health 200, auth flow, character CRUD, endurance lazy, 401 sans cookie.
This commit is contained in:
7
src/auth/dto/set-session.dto.ts
Normal file
7
src/auth/dto/set-session.dto.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { IsNotEmpty, IsString } from 'class-validator';
|
||||
|
||||
export class SetSessionDto {
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
jwt: string;
|
||||
}
|
||||
Reference in New Issue
Block a user