Skip to content

Feat/add jwt support#8

Open
9Queens wants to merge 5 commits into
Accepted-GR:mainfrom
9Queens:feat/add-jwt-support
Open

Feat/add jwt support#8
9Queens wants to merge 5 commits into
Accepted-GR:mainfrom
9Queens:feat/add-jwt-support

Conversation

@9Queens

@9Queens 9Queens commented Jul 5, 2026

Copy link
Copy Markdown

Add JWT token support for third-party API

  • Add TokenService, AuthenticationDelegatingHandler, DI wiring and memory cache
  • Attach Bearer token to typed HttpClients and add unit tests (token + handler)

Konstantinos Georgomitros added 5 commits July 5, 2026 13:09
…I config

- Replace per-instance HttpClient with typed HttpClient via IHttpClientFactory
- Remove BuildServiceProvider anti-pattern; accept IConfiguration in DefaultConfiguration
- Inject HttpClient into ProductsService and make JSON deserialization null-safe with logging
- Pass builder.Configuration into registration calls in Program.cs
- Add GetProductById/CreateProduct to IProductsService and ProductsService, exttending API endpoints, and include unit tests
- Test project added + ProductService tests added
- Add TokenService, AuthenticationDelegatingHandler, DI wiring and memory cache
- Attach Bearer token to typed HttpClients and add unit tests (token + handler)
@9Queens

9Queens commented Jul 5, 2026

Copy link
Copy Markdown
Author

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant