recognize / dwh-application-symfony-bundle
An API connector
Package info
github.com/recognizegroup/dwh-application-symfony-bundle
pkg:composer/recognize/dwh-application-symfony-bundle
2.0.2
2024-11-15 11:25 UTC
Requires
- php: ^8.1.0
- doctrine/common: ^3.0
- doctrine/orm: ^2.5.0
- erasys/openapi-php: ^2.1|^3.0|^4.0
- symfony/framework-bundle: ^4.0|^5.0|^6.0
- symfony/security-bundle: ^4.0|^5.0|^6.0
- symfony/serializer: ^4.0|^5.0|^6.0
Requires (Dev)
- phpstan/phpstan: ^1.10
This package is auto-updated.
Last update: 2026-05-29 01:52:03 UTC
README
Installation
Security
Add the following in config/packages/security.yaml:
User provider:
providers: dwhsecurity: id: Recognize\DwhApplication\Security\DwhUserProvider
User encoder (currently only bcrypt supported):
encoders: Recognize\DwhApplication\Model\DwhUser: bcrypt
Firewall for the DWH-bridge:
firewalls: recognize_dhw: pattern: ^/api/dwh http_basic: realm: Recognize DWH provider: dwhsecurity anonymous: false stateless: true
Ensure authentication for DWH-API paths:
access_control: - { path: ^/api/dwh, roles: ROLE_DWH_BRIDGE }
Configuration
The encrypted token requires a token that is encrypted with the specified encryption.
recognize_dwh: protocol_version: 1.0.0 specification_version: 1.0.0 encryption: bcrypt encrypted_token: $2y$12$ADbwlXKfMjsHKayFlBSuLuu02FkrtgzdNWfCOrzWrCR8zkSoNsUfG