62428cd2d4
- Replace GET /api/Token/Create (Basic Auth) with POST /api/Auth/login - Add refresh() method using HttpOnly cookie (POST /api/Auth/refresh) - Add initializeFromRefreshToken() for APP_INITIALIZER support - logout() now fires POST /api/Auth/logout (fire-and-forget) - Rename User interface to UserInfo (matches C# DTO: id, email, roles, languagePreference) - All auth state is in-memory only (no localStorage) - Fix downstream consumers: app.ts, header components, mfa-dialog, token-verification - Fix tsconfig.spec.json: exclude legacy src/components and src/directives - Add stub enums.model.ts and fix models/index.ts for pre-existing build errors Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
501 B
JSON
20 lines
501 B
JSON
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
|
|
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
|
|
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"outDir": "./out-tsc/spec",
|
|
"types": [
|
|
"jasmine"
|
|
]
|
|
},
|
|
"include": [
|
|
"src/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"src/components/**",
|
|
"src/directives/**",
|
|
"src/utilities/**"
|
|
]
|
|
}
|