cultuurnet / jwt-provider
提供 JSON Web Tokens 的 Silex 应用程序
2024.08.26.133409
2024-08-09 10:24 UTC
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-III-5031-support-php-8.1
- dev-dependabot/composer/rector/rector-1.2.5
- 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
- dev-dependabot/bundler/rexml-3.2.8
This package is auto-updated.
Last update: 2024-09-13 12:07:26 UTC
README
从 UiTID v2 (Auth0) 提供 JSON Web Tokens 的应用程序
架构
代码分为领域和基础设施。
领域包含动作、领域服务(接口)、值对象等...基础设施包含支持领域的技术能力 - 主要为领域接口的具体实现。这种划分的目的是从 Auth0 解耦,至少在一定程度上,以便于实现 Auth 提供程序的变化。
web/index.php
是应用程序的 入口点。它将请求传递到定义在 RoutingServiceProvider
中的路由器,该路由器位于 app
文件夹中,与所有其他 Service Providers 一起。每个路由都与位于 src/Domain/Action
文件夹中的单个动作类相关联。