Commit Graph
103 Commits
Author SHA1 Message Date
Stevan Freeborn af29df5d19 refactor(infra): move database path logic into app context 2026-02-06 06:53:20 -06:00
Stevan Freeborn 04e0a31b27 chore: remove unnecessary using 2026-02-06 06:53:20 -06:00
Stevan Freeborn 97c7847a89 chore: removed unnecessary usings 2026-02-06 06:53:20 -06:00
Stevan Freeborn f34fb5ce41 feat(core): define primary models and services for encryption 2026-02-06 06:53:20 -06:00
Stevan Freeborn 38c311bdd1 feat(core): extend user model with encryption related properties 2026-02-06 06:53:20 -06:00
Stevan Freeborn e9b1bd11bb feat(infra): added migrations for adding properties to user model 2026-02-06 06:53:20 -06:00
Stevan Freeborn bbe3779a53 tests: add remaining register integration tests 2026-02-03 21:04:25 -06:00
Stevan Freeborn 47692fc946 tests: add test for calling refresh with no access token 2026-02-03 21:04:25 -06:00
Stevan Freeborn 453aa3264d tests: check for proper cookie being set in response 2026-02-03 21:04:25 -06:00
Stevan Freeborn 21d23be2ef fix: remove unnecessary using 2026-02-03 21:04:25 -06:00
Stevan Freeborn 73598111b2 feat: enable problem details responses 2026-02-03 21:04:25 -06:00
Stevan Freeborn 1b89056258 tests: add jwt token builder for testing protected endpoints 2026-02-03 21:04:25 -06:00
Stevan Freeborn f12788fa37 fix: use key property 2026-02-03 21:04:25 -06:00
Stevan Freeborn 57c7a3a701 chore: configure auth schemes and add refresh token revocation migration 2026-02-03 21:04:25 -06:00
Stevan Freeborn 92b3c8e9c4 feat(api): add refresh endpoint and update global usings 2026-02-03 21:04:25 -06:00
Stevan Freeborn e12fa0111a feat(api): refactor login logic to use domain methods and cookie helpers 2026-02-03 21:04:25 -06:00
Stevan Freeborn ce5fd1fd45 refactor(core): enhance User and RefreshToken domain models 2026-02-03 21:04:25 -06:00
Stevan Freeborn 3fbd9402c3 chore: remove OpenApi and configure JWT authentication schemes 2026-02-03 21:04:25 -06:00
Stevan Freeborn a3264bd72d fix: add user id prop to refresh token 2026-02-03 21:04:25 -06:00
Stevan Freeborn e9f133bf43 fix: don't new up user for user prop 2026-02-03 21:04:25 -06:00
Stevan Freeborn 18bd510e75 chore: run dotnet format 2026-02-03 04:38:40 -06:00
Stevan Freeborn d9f0585c4c feat(infra): add indexes with uniqueness 2026-02-03 04:38:40 -06:00
Stevan Freeborn fcc1356d69 feat(admincli): add command for creating a user 2026-02-03 04:38:40 -06:00
Stevan Freeborn 0ce97cdec8 tests(api): add integration test for happy path when logging in 2026-02-03 04:38:40 -06:00
Stevan Freeborn 98de115259 feat(core): add password hashing and token generation interfaces 2026-02-03 04:38:40 -06:00
Stevan Freeborn 2a1a03ef6c test: update infra tests for new authentication namespaces 2026-02-03 04:38:40 -06:00
Stevan Freeborn a7eafa4966 test: add moq and code coverage support to test suite 2026-02-03 04:38:40 -06:00
Stevan Freeborn b05cc06dff feat(api): integrate abstracted token generation and update login endpoint 2026-02-03 04:38:40 -06:00
Stevan Freeborn a1b993bd62 feat(infra): move authentication implementations and add ITokenGenerator 2026-02-03 04:38:40 -06:00
Stevan Freeborn c4d0bf78ab refactor(core): encapsulate user and refresh token creation with factory methods 2026-02-03 04:38:40 -06:00
Stevan Freeborn e03cc0403a chore: add todo with psuedo code 2026-02-03 04:38:40 -06:00
Stevan Freeborn 1335f62ec3 feat(infra): update refresh token model 2026-02-03 04:38:40 -06:00
Stevan Freeborn eb2d9fb2d0 chore: add example jwt options in example settings file 2026-02-03 04:38:40 -06:00
Stevan Freeborn 36b293aa15 feat: implement token generation and issuing on successful login 2026-02-03 04:38:40 -06:00
Stevan Freeborn 38a03f56ca tests: refactor test suite to match new project structure 2026-02-03 04:38:40 -06:00
Stevan Freeborn c2b681d267 feat(api): integrate infra and implement password verification on login 2026-02-03 04:38:40 -06:00
Stevan Freeborn 91662f5629 feat: add timestamp interceptor and infrastructure service registration 2026-02-03 04:38:40 -06:00
Stevan Freeborn c79136fb26 refactor(infra): migrate data access and identity impelementations to infrastructure 2026-02-03 04:38:40 -06:00
Stevan Freeborn 7e67e02a68 refactor(core): move identity models from API to Core 2026-02-03 04:38:40 -06:00
Stevan Freeborn e66911810f feat(core): add base entity and password hashing abstractions 2026-02-03 04:38:40 -06:00
Stevan Freeborn 12ae1dc33a feat: initialize core, infra, and admin cli projects 2026-02-03 04:38:40 -06:00
Stevan Freeborn 647b185d40 feat: implement password hasher 2026-02-03 04:38:40 -06:00
Stevan Freeborn 00d7c977e7 chore: move editorconfig to correct location 2026-02-03 04:38:40 -06:00
Stevan Freeborn ccda58be07 tests: fix integration test setup 2026-02-03 04:38:40 -06:00
Stevan Freeborn 083b587493 fix: remove fake auth check 2026-02-03 04:38:40 -06:00
Stevan Freeborn c037b895f0 feat: wip on testing login flows 2026-02-03 04:38:40 -06:00
Stevan Freeborn 28e4692ca1 feat: setup db context with initial models 2026-02-03 04:38:40 -06:00
Stevan Freeborn 1f84f47f31 feat: add simple check for username and password 2026-02-03 04:38:40 -06:00
Stevan Freeborn 80b4e775d6 chore: add example appsettings file 2026-02-03 04:38:40 -06:00
Stevan Freeborn 463ff05831 refactor: use ivalidatableobject api 2026-02-03 04:38:40 -06:00