cultuurnet / jwt-provider
Silex application that provides JSON Web Tokens
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 16
Forks: 0
Open Issues: 7
Type:project
Requires
- php: ^7.4 || ^8.0
- ext-json: *
- aura/session: ^2.1
- auth0/auth0-php: ^8.3
- beberlei/assert: ^3.2
- cultuurnet/culturefeed-php: ^1.10
- cultuurnet/udb3-api-guard: ^v4.0.0
- filp/whoops: ^2.5
- guzzlehttp/guzzle: ^7.8
- guzzlehttp/psr7: ^2.6
- hassankhan/config: ^3.1
- http-interop/http-factory-guzzle: ^1.2
- laminas/laminas-httphandlerrunner: ^2.2
- league/container: ^3.3
- league/route: ^4.3
- monolog/monolog: ^1.11
- php-http/message-factory: ^1.1
- sentry/sdk: ^4.0
- slim/psr7: ^1.6
- symfony/event-dispatcher: ^5.4
- symfony/http-client: ^5.4
- symfony/yaml: ^5.4
Requires (Dev)
- jangregor/phpstan-prophecy: ^1.0
- phpspec/prophecy-phpunit: ^2.2
- phpunit/phpunit: ^9.6
- publiq/php-cs-fixer-config: ^1.3
- rector/rector: ^1.0
- dev-main
- 2024.08.26.133409
- 2024.08.09.105149
- 2024.04.02.122101
- 2022.10.25.110423
- 2022.10.25.100317
- 2022.10.24.095521
- 2022.10.24.094102
- dev-dependabot/composer/symfony/process-5.4.46
- dev-dependabot/composer/symfony/http-client-5.4.46
- dev-dependabot/composer/filp/whoops-2.16.0
- dev-uitidv1/main
- dev-dependabot/composer/guzzlehttp/guzzle-7.9.2
- dev-dependabot/composer/guzzlehttp/psr7-2.7.0
- dev-dependabot/composer/slim/psr7-1.7.0
- dev-dependabot/composer/aura/session-4.0.0
This package is auto-updated.
Last update: 2024-11-06 20:38:43 UTC
README
Application that provides JSON Web Tokens from UiTID v2 (Auth0)
Architecture
Code is split into Domain and Infrastructure.
Domain contains actions, domain services (interfaces), value objects, etc... Infrastructure contains technical capabilities to support the domain - mostly domain interface concrete implementation. The intention in this division is to decouple from Auth0, at least to some extent so further changes in Auth provider can be easier to implement.
web/index.php
is the entry point for the application. It will pass the request to the
router that is defined in the RoutingServiceProvider
, which is located in the app
folder together
with the rest of the Service Providers. Every route is tied to single action class that is located in the
src/Domain/Action
folder.
Authentication flow
jwt-provider service serves as a proxy between front end application and Auth0 service.