Aaron Po
7c97825f91
unskip and implement confirmation/refresh scenarios; fix JWT auth response path
2026-03-06 22:42:35 -05:00
Aaron Po
4e48089c18
Handle SqlException in global exception filter
2026-03-02 22:55:02 -05:00
Aaron Po
f6dc64b88b
Format API directory
2026-03-02 22:35:18 -05:00
Aaron Po
769c717405
test: implement BDD step definitions for token validation and confirmation
2026-03-01 01:54:04 -05:00
Aaron Po
c5571fcf47
docs: update configuration and documentation for token validation
2026-02-28 23:19:12 -05:00
Aaron Po
c20be03f89
feat: add token validation to repository and confirmation service
2026-02-28 23:18:59 -05:00
Aaron Po
d1fedc72af
feat: implement consolidated TokenService with token generation, validation, and refresh
...
- Implement ITokenService interface with unified token handling
- Add TokenService class supporting AccessToken, RefreshToken, and ConfirmationToken generation
- Add ValidateAccessTokenAsync, ValidateRefreshTokenAsync, ValidateConfirmationTokenAsync methods
- Add RefreshTokenAsync for token rotation with new access and refresh tokens
- Include ValidatedToken and RefreshTokenResult records for type safety
- Add unit tests for token validation and refresh operations
- Support environment-based token secrets: ACCESS_TOKEN_SECRET, REFRESH_TOKEN_SECRET, CONFIRMATION_TOKEN_SECRET
2026-02-28 23:18:35 -05:00
Aaron Po
b850d1047e
Cleanup domain directory
2026-02-28 22:09:41 -05:00
Aaron Po
250e5f2c9c
Refactor authentication services and implement JWT validation logic
2026-02-26 23:44:52 -05:00
Aaron Po
0ab2eaaec9
Begin work on user confirmation workflow
2026-02-21 20:44:49 -05:00
Aaron Po
17eb04e20c
Update diagrams
2026-02-21 05:04:04 -05:00
Aaron Po
50c2f5dfda
Update documentation ( #156 )
2026-02-21 05:02:22 -05:00
Aaron Po
c5683df4b6
add IEmailService to the DI container ( #154 )
2026-02-19 22:04:30 -05:00
Aaron Po
2cad88e3f6
Service refactor ( #153 )
...
* remove email out of register service
* Update auth service, move JWT handling out of controller
* add docker config for service auth test
* Update mock email system
* Format: ./src/Core/Service
* Refactor authentication payloads and services for registration and login processes
* Format: src/Core/API, src/Core/Service
2026-02-16 15:12:59 -05:00
Aaron Po
0d52c937ce
Adding service layer testing ( #151 )
2026-02-14 21:17:39 -05:00
Aaron Po
6b66f5680f
Add user registration emails + email infrastructure ( #150 )
...
* Add email functionality
* Add email template project and rendering service
* Update email template dir structure
* Add email header and footer components for user registration template
* update example env
* Refactor email templates namespace and components
* Format email dir
2026-02-13 21:46:19 -05:00
Aaron Po
82f0d26200
Fix ISO country code references in database scripts and seeder ( #148 )
2026-02-12 23:29:42 -05:00
Aaron Po
7129e5679e
Update exception handling ( #146 )
2026-02-12 21:06:07 -05:00
Aaron Po
584fe6282f
Merge pull request #145 from aaronpo97/fix-test-config
...
fix config
2026-02-12 19:37:59 -05:00
Aaron Po
8c61069b7d
fix config
2026-02-12 19:37:20 -05:00
Aaron Po
674f91cbdf
Merge pull request #144 from aaronpo97/fix-test-config
...
Refactor auth/user services
2026-02-12 19:30:40 -05:00
Aaron Po
a54d2a6da0
Merge pull request #143 from aaronpo97/service-refactor
...
Refactor auth/user services
2026-02-12 19:29:56 -05:00
Aaron Po
954c9c389c
Refactor auth/user services
2026-02-12 19:28:48 -05:00
Aaron Po
d942d92db5
Refactor auth/user services
2026-02-12 19:28:40 -05:00
Aaron Po
c80eae694f
Merge pull request #142 from aaronpo97/fix-test-config
...
Fix test namespaces and Dockerfile project paths
2026-02-12 18:39:58 -05:00
Aaron Po
94061c6d84
Fix test namespaces and Dockerfile project paths
2026-02-12 18:37:28 -05:00
Aaron Po
caf13de36e
Merge pull request #141 from aaronpo97/refactor/add-infrastructure-project-dir
...
Refactor/add infrastructure project dir
2026-02-12 18:26:17 -05:00
Aaron Po
2cb8f1d918
Update ISeeder.cs
2026-02-12 18:05:44 -05:00
Aaron Po
f728514a7c
Update namespaces
2026-02-12 18:05:35 -05:00
Aaron Po
4f92741b4f
Refactor repository structure
2026-02-12 17:14:32 -05:00
Aaron Po
a038a12fca
Update root namespaces
2026-02-12 09:54:39 -05:00
Aaron Po
74c5528ea2
Format infrastructure dir
2026-02-12 01:13:59 -05:00
Aaron Po
f48b8452d3
Update tests
2026-02-12 01:13:59 -05:00
Aaron Po
2411841bdc
create Infrastructure directory
2026-02-12 00:56:52 -05:00
Aaron Po
215824d4b6
Merge pull request #140 from aaronpo97/remove-domain.validation-project
...
Refactor domain project structure and remove Domain.Validation project
2026-02-11 21:02:44 -05:00
Aaron Po
99b13e2742
Refactor domain project structure and remove Domain.Validation project
2026-02-11 21:02:16 -05:00
Aaron Po
3a32f326bf
Merge pull request #139 from aaronpo97/request-validation
...
Add request validation and DTOs
2026-02-11 20:01:50 -05:00
Aaron Po
b2cf21399b
Update request validation
2026-02-11 19:59:54 -05:00
Aaron Po
109ade474c
Add validation and dtos
2026-02-11 17:36:27 -05:00
Aaron Po
07a62a0c99
Merge pull request #138 from aaronpo97/add-domain-project
...
Add domain project
2026-02-11 13:31:49 -05:00
Aaron Po
31e67ebad8
Update namespace from WebAPI to API.Core
2026-02-11 13:25:22 -05:00
Aaron Po
c74b20079b
Add domain project and update references
2026-02-11 00:23:13 -05:00
Aaron Po
2b0f9876bc
Merge pull request #136 from aaronpo97/user-registration
...
User registration
2026-02-10 23:29:19 -05:00
Aaron Po
8a4b833943
Add user registration bdd tests
2026-02-10 23:09:00 -05:00
Aaron Po
656981003b
Update service namespace/directory structure
2026-02-09 23:23:41 -05:00
Aaron Po
ff1ce15419
Consolidate auth logic, update password service, and update namespaces
2026-02-08 23:25:31 -05:00
Aaron Po
881a94893f
add registration steps
2026-02-08 21:38:27 -05:00
Aaron Po
8abacb5572
Merge pull request #134 from aaronpo97/133-update-env-handling
...
refactor/update docker compose env configuration
2026-02-08 21:03:13 -05:00
Aaron Po
027e130fcd
Add example env
2026-02-08 21:02:07 -05:00
Aaron Po
243931eb6a
Refactor database connection handling and update environment variable usage across Docker configurations
2026-02-08 14:57:45 -05:00