Compare commits
3
Commits
078ef8b9a6
...
a5c98025d0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a5c98025d0 | ||
|
|
74ebefcf65 | ||
|
|
898a7c7505 |
No files matched your search
@@ -60,6 +60,13 @@ [email protected]
|
|||||||
|
|
||||||
XML_EXPORT_PATH="%kernel.project_dir%/var/xmlexport"
|
XML_EXPORT_PATH="%kernel.project_dir%/var/xmlexport"
|
||||||
|
|
||||||
|
MYEP_OAUTH2_CLIENT_ID=
|
||||||
|
MYEP_OAUTH2_CLIENT_SECRET=
|
||||||
|
MYEP_OAUTH2_URL_AUTHORIZE=https://my.ep-reisen.de/authorize
|
||||||
|
MYEP_OAUTH2_URL_ACCESS_TOKEN=https://my.ep-reisen.de/token
|
||||||
|
MYEP_OAUTH2_URL_RESOURCE_OWNER_DETAILS=https://my.ep-reisen.de/api/userinfo
|
||||||
|
MYEP_OAUTH2_SCOPES=email,id,roles,profile
|
||||||
|
|
||||||
###> symfony/mailjet-mailer ###
|
###> symfony/mailjet-mailer ###
|
||||||
# MAILER_DSN=mailjet+api://PUBLIC_KEY:[email protected]
|
# MAILER_DSN=mailjet+api://PUBLIC_KEY:[email protected]
|
||||||
# #MAILER_DSN=mailjet+smtp://PUBLIC_KEY:[email protected]
|
# #MAILER_DSN=mailjet+smtp://PUBLIC_KEY:[email protected]
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
"knplabs/knp-paginator-bundle": "^6.2",
|
"knplabs/knp-paginator-bundle": "^6.2",
|
||||||
"league/flysystem-bundle": "^3.4",
|
"league/flysystem-bundle": "^3.4",
|
||||||
"league/flysystem-sftp-v3": "^3.29",
|
"league/flysystem-sftp-v3": "^3.29",
|
||||||
|
"league/oauth2-client": "^2.9",
|
||||||
"liip/imagine-bundle": "^2.11",
|
"liip/imagine-bundle": "^2.11",
|
||||||
"maennchen/zipstream-php": "^3.1",
|
"maennchen/zipstream-php": "^3.1",
|
||||||
"nelmio/security-bundle": "^3.0",
|
"nelmio/security-bundle": "^3.0",
|
||||||
|
|||||||
Generated
+639
-38
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "855c5c3b38925411e3e8626995e74076",
|
"content-hash": "b6c422d9533a5a1589f72c500a66cf90",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "beberlei/doctrineextensions",
|
"name": "beberlei/doctrineextensions",
|
||||||
@@ -1798,6 +1798,337 @@
|
|||||||
},
|
},
|
||||||
"time": "2026-06-01T10:02:14+00:00"
|
"time": "2026-06-01T10:02:14+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "guzzlehttp/guzzle",
|
||||||
|
"version": "7.15.3",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/guzzle/guzzle.git",
|
||||||
|
"reference": "ae311b8f045ea93ce7b1c9cdb7cec06c53f944bc"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/ae311b8f045ea93ce7b1c9cdb7cec06c53f944bc",
|
||||||
|
"reference": "ae311b8f045ea93ce7b1c9cdb7cec06c53f944bc",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-json": "*",
|
||||||
|
"guzzlehttp/promises": "^2.5.2",
|
||||||
|
"guzzlehttp/psr7": "^2.13",
|
||||||
|
"php": "^7.2.5 || ^8.0",
|
||||||
|
"psr/http-client": "^1.0",
|
||||||
|
"symfony/deprecation-contracts": "^2.5 || ^3.0",
|
||||||
|
"symfony/polyfill-php80": "^1.25"
|
||||||
|
},
|
||||||
|
"provide": {
|
||||||
|
"psr/http-client-implementation": "1.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"bamarni/composer-bin-plugin": "^1.8.2",
|
||||||
|
"ext-curl": "*",
|
||||||
|
"guzzle/client-integration-tests": "3.0.3",
|
||||||
|
"guzzlehttp/test-server": "^0.7",
|
||||||
|
"php-http/message-factory": "^1.1",
|
||||||
|
"phpunit/phpunit": "^8.5.52 || ^9.6.34",
|
||||||
|
"psr/log": "^1.1 || ^2.0 || ^3.0"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"ext-curl": "Required for CURL handler support",
|
||||||
|
"ext-intl": "Required for Internationalized Domain Name (IDN) support",
|
||||||
|
"psr/log": "Required for using the Log middleware"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"bamarni-bin": {
|
||||||
|
"bin-links": true,
|
||||||
|
"forward-command": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"files": [
|
||||||
|
"src/functions_include.php"
|
||||||
|
],
|
||||||
|
"psr-4": {
|
||||||
|
"GuzzleHttp\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Graham Campbell",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/GrahamCampbell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Michael Dowling",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/mtdowling"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Jeremy Lindblom",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/jeremeamia"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "George Mponos",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/gmponos"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tobias Nyholm",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/Nyholm"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Márk Sági-Kazár",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/sagikazarmark"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tobias Schultze",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/Tobion"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Guzzle is a PHP HTTP client library",
|
||||||
|
"keywords": [
|
||||||
|
"client",
|
||||||
|
"curl",
|
||||||
|
"framework",
|
||||||
|
"http",
|
||||||
|
"http client",
|
||||||
|
"psr-18",
|
||||||
|
"psr-7",
|
||||||
|
"rest",
|
||||||
|
"web service"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/guzzle/guzzle/issues",
|
||||||
|
"source": "https://github.com/guzzle/guzzle/tree/7.15.3"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/GrahamCampbell",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://github.com/Nyholm",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle",
|
||||||
|
"type": "tidelift"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"time": "2026-08-05T19:48:21+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "guzzlehttp/promises",
|
||||||
|
"version": "2.5.2",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/guzzle/promises.git",
|
||||||
|
"reference": "2823687acff28b2dbe67b2508a6b300e2c3fa4ce"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/guzzle/promises/zipball/2823687acff28b2dbe67b2508a6b300e2c3fa4ce",
|
||||||
|
"reference": "2823687acff28b2dbe67b2508a6b300e2c3fa4ce",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": "^7.2.5 || ^8.0",
|
||||||
|
"symfony/deprecation-contracts": "^2.5 || ^3.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"bamarni/composer-bin-plugin": "^1.8.2",
|
||||||
|
"phpunit/phpunit": "^8.5.52 || ^9.6.34"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"bamarni-bin": {
|
||||||
|
"bin-links": true,
|
||||||
|
"forward-command": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"GuzzleHttp\\Promise\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Graham Campbell",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/GrahamCampbell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Michael Dowling",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/mtdowling"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tobias Nyholm",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/Nyholm"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tobias Schultze",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/Tobion"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Guzzle promises library",
|
||||||
|
"keywords": [
|
||||||
|
"promise"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/guzzle/promises/issues",
|
||||||
|
"source": "https://github.com/guzzle/promises/tree/2.5.2"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/GrahamCampbell",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://github.com/Nyholm",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises",
|
||||||
|
"type": "tidelift"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"time": "2026-08-05T19:30:54+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "guzzlehttp/psr7",
|
||||||
|
"version": "2.13.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/guzzle/psr7.git",
|
||||||
|
"reference": "dad89620b7a6edb60c15858442eb2e408b45d8f4"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/guzzle/psr7/zipball/dad89620b7a6edb60c15858442eb2e408b45d8f4",
|
||||||
|
"reference": "dad89620b7a6edb60c15858442eb2e408b45d8f4",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": "^7.2.5 || ^8.0",
|
||||||
|
"psr/http-factory": "^1.0",
|
||||||
|
"psr/http-message": "^1.1 || ^2.0",
|
||||||
|
"ralouphie/getallheaders": "^3.0",
|
||||||
|
"symfony/deprecation-contracts": "^2.5 || ^3.0",
|
||||||
|
"symfony/polyfill-php80": "^1.25"
|
||||||
|
},
|
||||||
|
"provide": {
|
||||||
|
"psr/http-factory-implementation": "1.0",
|
||||||
|
"psr/http-message-implementation": "1.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"bamarni/composer-bin-plugin": "^1.8.2",
|
||||||
|
"http-interop/http-factory-tests": "1.1.0",
|
||||||
|
"jshttp/mime-db": "1.54.0.1",
|
||||||
|
"phpunit/phpunit": "^8.5.52 || ^9.6.34"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"bamarni-bin": {
|
||||||
|
"bin-links": true,
|
||||||
|
"forward-command": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"GuzzleHttp\\Psr7\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Graham Campbell",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/GrahamCampbell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Michael Dowling",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/mtdowling"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "George Mponos",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/gmponos"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tobias Nyholm",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/Nyholm"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Márk Sági-Kazár",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/sagikazarmark"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tobias Schultze",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://github.com/Tobion"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Márk Sági-Kazár",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "https://sagikazarmark.hu"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "PSR-7 message implementation that also provides common utility methods",
|
||||||
|
"keywords": [
|
||||||
|
"http",
|
||||||
|
"message",
|
||||||
|
"psr-7",
|
||||||
|
"request",
|
||||||
|
"response",
|
||||||
|
"stream",
|
||||||
|
"uri",
|
||||||
|
"url"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/guzzle/psr7/issues",
|
||||||
|
"source": "https://github.com/guzzle/psr7/tree/2.13.0"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/GrahamCampbell",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://github.com/Nyholm",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7",
|
||||||
|
"type": "tidelift"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"time": "2026-07-16T22:23:49+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "imagine/imagine",
|
"name": "imagine/imagine",
|
||||||
"version": "1.5.4",
|
"version": "1.5.4",
|
||||||
@@ -2250,16 +2581,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "league/flysystem-bundle",
|
"name": "league/flysystem-bundle",
|
||||||
"version": "3.7.0",
|
"version": "3.7.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/thephpleague/flysystem-bundle.git",
|
"url": "https://github.com/thephpleague/flysystem-bundle.git",
|
||||||
"reference": "5eb41be38fc3759f74c9e458a6a5f0ef5f49284a"
|
"reference": "9cccb6862c9fcd16e6d8a0fbd62254abb8017c99"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/thephpleague/flysystem-bundle/zipball/5eb41be38fc3759f74c9e458a6a5f0ef5f49284a",
|
"url": "https://api.github.com/repos/thephpleague/flysystem-bundle/zipball/9cccb6862c9fcd16e6d8a0fbd62254abb8017c99",
|
||||||
"reference": "5eb41be38fc3759f74c9e458a6a5f0ef5f49284a",
|
"reference": "9cccb6862c9fcd16e6d8a0fbd62254abb8017c99",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -2314,9 +2645,9 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/thephpleague/flysystem-bundle/issues",
|
"issues": "https://github.com/thephpleague/flysystem-bundle/issues",
|
||||||
"source": "https://github.com/thephpleague/flysystem-bundle/tree/3.7.0"
|
"source": "https://github.com/thephpleague/flysystem-bundle/tree/3.7.1"
|
||||||
},
|
},
|
||||||
"time": "2026-03-28T22:14:56+00:00"
|
"time": "2026-08-10T15:55:07+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "league/flysystem-local",
|
"name": "league/flysystem-local",
|
||||||
@@ -2472,6 +2803,71 @@
|
|||||||
],
|
],
|
||||||
"time": "2026-07-09T11:49:27+00:00"
|
"time": "2026-07-09T11:49:27+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "league/oauth2-client",
|
||||||
|
"version": "2.9.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/thephpleague/oauth2-client.git",
|
||||||
|
"reference": "26e8c5da4f3d78cede7021e09b1330a0fc093d5e"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/thephpleague/oauth2-client/zipball/26e8c5da4f3d78cede7021e09b1330a0fc093d5e",
|
||||||
|
"reference": "26e8c5da4f3d78cede7021e09b1330a0fc093d5e",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-json": "*",
|
||||||
|
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
|
||||||
|
"php": "^7.1 || >=8.0.0 <8.6.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"mockery/mockery": "^1.3.5",
|
||||||
|
"php-parallel-lint/php-parallel-lint": "^1.4",
|
||||||
|
"phpunit/phpunit": "^7 || ^8 || ^9 || ^10 || ^11",
|
||||||
|
"squizlabs/php_codesniffer": "^3.11"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"League\\OAuth2\\Client\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Alex Bilbie",
|
||||||
|
"email": "[email protected]",
|
||||||
|
"homepage": "http://www.alexbilbie.com",
|
||||||
|
"role": "Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Woody Gilk",
|
||||||
|
"homepage": "https://github.com/shadowhand",
|
||||||
|
"role": "Contributor"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "OAuth 2.0 Client Library",
|
||||||
|
"keywords": [
|
||||||
|
"Authentication",
|
||||||
|
"SSO",
|
||||||
|
"authorization",
|
||||||
|
"identity",
|
||||||
|
"idp",
|
||||||
|
"oauth",
|
||||||
|
"oauth2",
|
||||||
|
"single sign on"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/thephpleague/oauth2-client/issues",
|
||||||
|
"source": "https://github.com/thephpleague/oauth2-client/tree/2.9.0"
|
||||||
|
},
|
||||||
|
"time": "2025-11-25T22:17:17+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "liip/imagine-bundle",
|
"name": "liip/imagine-bundle",
|
||||||
"version": "2.17.2",
|
"version": "2.17.2",
|
||||||
@@ -3687,6 +4083,166 @@
|
|||||||
},
|
},
|
||||||
"time": "2019-01-08T18:20:26+00:00"
|
"time": "2019-01-08T18:20:26+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "psr/http-client",
|
||||||
|
"version": "1.0.3",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/php-fig/http-client.git",
|
||||||
|
"reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90",
|
||||||
|
"reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": "^7.0 || ^8.0",
|
||||||
|
"psr/http-message": "^1.0 || ^2.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.0.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Psr\\Http\\Client\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "PHP-FIG",
|
||||||
|
"homepage": "https://www.php-fig.org/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Common interface for HTTP clients",
|
||||||
|
"homepage": "https://github.com/php-fig/http-client",
|
||||||
|
"keywords": [
|
||||||
|
"http",
|
||||||
|
"http-client",
|
||||||
|
"psr",
|
||||||
|
"psr-18"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"source": "https://github.com/php-fig/http-client"
|
||||||
|
},
|
||||||
|
"time": "2023-09-23T14:17:50+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "psr/http-factory",
|
||||||
|
"version": "1.1.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/php-fig/http-factory.git",
|
||||||
|
"reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
|
||||||
|
"reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=7.1",
|
||||||
|
"psr/http-message": "^1.0 || ^2.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.0.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Psr\\Http\\Message\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "PHP-FIG",
|
||||||
|
"homepage": "https://www.php-fig.org/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
|
||||||
|
"keywords": [
|
||||||
|
"factory",
|
||||||
|
"http",
|
||||||
|
"message",
|
||||||
|
"psr",
|
||||||
|
"psr-17",
|
||||||
|
"psr-7",
|
||||||
|
"request",
|
||||||
|
"response"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"source": "https://github.com/php-fig/http-factory"
|
||||||
|
},
|
||||||
|
"time": "2024-04-15T12:06:14+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "psr/http-message",
|
||||||
|
"version": "2.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/php-fig/http-message.git",
|
||||||
|
"reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71",
|
||||||
|
"reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": "^7.2 || ^8.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.0.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Psr\\Http\\Message\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "PHP-FIG",
|
||||||
|
"homepage": "https://www.php-fig.org/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Common interface for HTTP messages",
|
||||||
|
"homepage": "https://github.com/php-fig/http-message",
|
||||||
|
"keywords": [
|
||||||
|
"http",
|
||||||
|
"http-message",
|
||||||
|
"psr",
|
||||||
|
"psr-7",
|
||||||
|
"request",
|
||||||
|
"response"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"source": "https://github.com/php-fig/http-message/tree/2.0"
|
||||||
|
},
|
||||||
|
"time": "2023-04-04T09:54:51+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "psr/link",
|
"name": "psr/link",
|
||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
@@ -3793,6 +4349,50 @@
|
|||||||
},
|
},
|
||||||
"time": "2024-09-11T13:17:53+00:00"
|
"time": "2024-09-11T13:17:53+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "ralouphie/getallheaders",
|
||||||
|
"version": "3.0.3",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/ralouphie/getallheaders.git",
|
||||||
|
"reference": "120b605dfeb996808c31b6477290a714d356e822"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",
|
||||||
|
"reference": "120b605dfeb996808c31b6477290a714d356e822",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.6"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"php-coveralls/php-coveralls": "^2.1",
|
||||||
|
"phpunit/phpunit": "^5 || ^6.5"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"files": [
|
||||||
|
"src/getallheaders.php"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Ralph Khattar",
|
||||||
|
"email": "[email protected]"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A polyfill for getallheaders.",
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/ralouphie/getallheaders/issues",
|
||||||
|
"source": "https://github.com/ralouphie/getallheaders/tree/develop"
|
||||||
|
},
|
||||||
|
"time": "2019-03-08T08:55:37+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "scienta/doctrine-json-functions",
|
"name": "scienta/doctrine-json-functions",
|
||||||
"version": "6.5.0",
|
"version": "6.5.0",
|
||||||
@@ -3987,12 +4587,13 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "setasign/fpdi_pdf-parser",
|
"name": "setasign/fpdi_pdf-parser",
|
||||||
"version": "2.1.6",
|
"version": "2.1.7",
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://www.setasign.com/downloads/7082320/FPDI_PDF-Parser-2.1.6.zip"
|
"url": "https://www.setasign.com/downloads/7110992/FPDI_PDF-Parser-2.1.7.zip"
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
"php": ">=7.2 <8.6",
|
||||||
"setasign/fpdi": "^2.6.6"
|
"setasign/fpdi": "^2.6.6"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
@@ -4007,7 +4608,7 @@
|
|||||||
"support": {
|
"support": {
|
||||||
"email": "[email protected]"
|
"email": "[email protected]"
|
||||||
},
|
},
|
||||||
"time": "2026-03-13T00:00:00+00:00"
|
"time": "2026-08-11T00:00:00+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "spatie/blink",
|
"name": "spatie/blink",
|
||||||
@@ -11614,20 +12215,20 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "myclabs/deep-copy",
|
"name": "myclabs/deep-copy",
|
||||||
"version": "1.13.4",
|
"version": "1.14.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/myclabs/DeepCopy.git",
|
"url": "https://github.com/myclabs/DeepCopy.git",
|
||||||
"reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a"
|
"reference": "8680aa248f8e07bc8fb43f56f0f5fc77a0c96aae"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a",
|
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8680aa248f8e07bc8fb43f56f0f5fc77a0c96aae",
|
||||||
"reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a",
|
"reference": "8680aa248f8e07bc8fb43f56f0f5fc77a0c96aae",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1 || ^8.0"
|
"php": "^8.0"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"doctrine/collections": "<1.6.8",
|
"doctrine/collections": "<1.6.8",
|
||||||
@@ -11662,15 +12263,15 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/myclabs/DeepCopy/issues",
|
"issues": "https://github.com/myclabs/DeepCopy/issues",
|
||||||
"source": "https://github.com/myclabs/DeepCopy/tree/1.13.4"
|
"source": "https://github.com/myclabs/DeepCopy/tree/1.14.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
|
"url": "https://github.com/mnapoli",
|
||||||
"type": "tidelift"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-08-01T08:46:24+00:00"
|
"time": "2026-08-11T10:17:44+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nikic/php-parser",
|
"name": "nikic/php-parser",
|
||||||
@@ -12168,16 +12769,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/phpunit",
|
"name": "phpunit/phpunit",
|
||||||
"version": "9.6.35",
|
"version": "9.6.36",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||||
"reference": "0edba2f3a0c48df3553cb9b640810b30df60302b"
|
"reference": "abab27ed286d3e1246fbbfe6b56bfd732d945ec9"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0edba2f3a0c48df3553cb9b640810b30df60302b",
|
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/abab27ed286d3e1246fbbfe6b56bfd732d945ec9",
|
||||||
"reference": "0edba2f3a0c48df3553cb9b640810b30df60302b",
|
"reference": "abab27ed286d3e1246fbbfe6b56bfd732d945ec9",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -12202,7 +12803,7 @@
|
|||||||
"sebastian/comparator": "^4.0.10",
|
"sebastian/comparator": "^4.0.10",
|
||||||
"sebastian/diff": "^4.0.6",
|
"sebastian/diff": "^4.0.6",
|
||||||
"sebastian/environment": "^5.1.5",
|
"sebastian/environment": "^5.1.5",
|
||||||
"sebastian/exporter": "^4.0.8",
|
"sebastian/exporter": "^4.0.9",
|
||||||
"sebastian/global-state": "^5.0.8",
|
"sebastian/global-state": "^5.0.8",
|
||||||
"sebastian/object-enumerator": "^4.0.4",
|
"sebastian/object-enumerator": "^4.0.4",
|
||||||
"sebastian/resource-operations": "^3.0.4",
|
"sebastian/resource-operations": "^3.0.4",
|
||||||
@@ -12251,7 +12852,7 @@
|
|||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
||||||
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
||||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.35"
|
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.36"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -12259,7 +12860,7 @@
|
|||||||
"type": "other"
|
"type": "other"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2026-07-06T14:48:07+00:00"
|
"time": "2026-08-11T06:25:15+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "react/cache",
|
"name": "react/cache",
|
||||||
@@ -13228,16 +13829,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/exporter",
|
"name": "sebastian/exporter",
|
||||||
"version": "4.0.8",
|
"version": "4.0.9",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/exporter.git",
|
"url": "https://github.com/sebastianbergmann/exporter.git",
|
||||||
"reference": "14c6ba52f95a36c3d27c835d65efc7123c446e8c"
|
"reference": "4352c1a3df741a7ba9e61af6fed51d1fee41cbf7"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/14c6ba52f95a36c3d27c835d65efc7123c446e8c",
|
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/4352c1a3df741a7ba9e61af6fed51d1fee41cbf7",
|
||||||
"reference": "14c6ba52f95a36c3d27c835d65efc7123c446e8c",
|
"reference": "4352c1a3df741a7ba9e61af6fed51d1fee41cbf7",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -13293,7 +13894,7 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/sebastianbergmann/exporter/issues",
|
"issues": "https://github.com/sebastianbergmann/exporter/issues",
|
||||||
"source": "https://github.com/sebastianbergmann/exporter/tree/4.0.8"
|
"source": "https://github.com/sebastianbergmann/exporter/tree/4.0.9"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -13313,7 +13914,7 @@
|
|||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-09-24T06:03:27+00:00"
|
"time": "2026-08-11T04:55:59+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/global-state",
|
"name": "sebastian/global-state",
|
||||||
@@ -13562,16 +14163,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/recursion-context",
|
"name": "sebastian/recursion-context",
|
||||||
"version": "4.0.6",
|
"version": "4.0.7",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/recursion-context.git",
|
"url": "https://github.com/sebastianbergmann/recursion-context.git",
|
||||||
"reference": "539c6691e0623af6dc6f9c20384c120f963465a0"
|
"reference": "c85be6922b7fd365942b986b9a50397d65407611"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/539c6691e0623af6dc6f9c20384c120f963465a0",
|
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/c85be6922b7fd365942b986b9a50397d65407611",
|
||||||
"reference": "539c6691e0623af6dc6f9c20384c120f963465a0",
|
"reference": "c85be6922b7fd365942b986b9a50397d65407611",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -13613,7 +14214,7 @@
|
|||||||
"homepage": "https://github.com/sebastianbergmann/recursion-context",
|
"homepage": "https://github.com/sebastianbergmann/recursion-context",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/sebastianbergmann/recursion-context/issues",
|
"issues": "https://github.com/sebastianbergmann/recursion-context/issues",
|
||||||
"source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.6"
|
"source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.7"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -13633,7 +14234,7 @@
|
|||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-08-10T06:57:39+00:00"
|
"time": "2026-08-11T05:25:24+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/resource-operations",
|
"name": "sebastian/resource-operations",
|
||||||
|
|||||||
@@ -10,3 +10,6 @@ flagception:
|
|||||||
datev_email:
|
datev_email:
|
||||||
default: false
|
default: false
|
||||||
env: FEATURE_DATEV_EMAIL
|
env: FEATURE_DATEV_EMAIL
|
||||||
|
myep_login:
|
||||||
|
default: false
|
||||||
|
env: FEATURE_MYEP_LOGIN
|
||||||
@@ -2,7 +2,7 @@ monolog:
|
|||||||
channels:
|
channels:
|
||||||
- deprecation
|
- deprecation
|
||||||
- bpn
|
- bpn
|
||||||
- myep
|
- audit
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
main:
|
main:
|
||||||
@@ -11,7 +11,7 @@ monolog:
|
|||||||
handler: exceptions
|
handler: exceptions
|
||||||
excluded_http_codes: [404, 405]
|
excluded_http_codes: [404, 405]
|
||||||
buffer_size: 50
|
buffer_size: 50
|
||||||
channels: ["!bpn", "!myep"]
|
channels: ["!bpn", "!audit"]
|
||||||
exceptions:
|
exceptions:
|
||||||
type: rotating_file
|
type: rotating_file
|
||||||
path: "%kernel.logs_dir%/framework.%kernel.environment%.log"
|
path: "%kernel.logs_dir%/framework.%kernel.environment%.log"
|
||||||
@@ -23,14 +23,14 @@ monolog:
|
|||||||
path: '%kernel.logs_dir%/bpn.%kernel.environment%.log'
|
path: '%kernel.logs_dir%/bpn.%kernel.environment%.log'
|
||||||
max_files: 5
|
max_files: 5
|
||||||
level: info
|
level: info
|
||||||
myep:
|
audit:
|
||||||
channels: [ "myep" ]
|
channels: [ "audit" ]
|
||||||
type: rotating_file
|
type: rotating_file
|
||||||
path: '%kernel.logs_dir%/myep.%kernel.environment%.log'
|
path: '%kernel.logs_dir%/audit.%kernel.environment%.log'
|
||||||
max_files: 5
|
max_files: 5
|
||||||
level: info
|
level: info
|
||||||
database:
|
database:
|
||||||
channels: ["myep"]
|
channels: ["audit"]
|
||||||
type: service
|
type: service
|
||||||
id: App\Logging\DatabaseHandler
|
id: App\Logging\DatabaseHandler
|
||||||
console:
|
console:
|
||||||
@@ -38,6 +38,18 @@ monolog:
|
|||||||
process_psr_3_messages: false
|
process_psr_3_messages: false
|
||||||
channels: ["!event", "!bpn", "!doctrine", "!console"]
|
channels: ["!event", "!bpn", "!doctrine", "!console"]
|
||||||
|
|
||||||
|
when@dev:
|
||||||
|
monolog:
|
||||||
|
handlers:
|
||||||
|
# Single catch-all file so everything is visible in one place during
|
||||||
|
# development. The handlers above are error-level or channel-bound,
|
||||||
|
# which makes ordinary app output invisible locally.
|
||||||
|
dev:
|
||||||
|
type: stream
|
||||||
|
path: '%kernel.logs_dir%/%kernel.environment%.log'
|
||||||
|
level: debug
|
||||||
|
channels: ["!event", "!doctrine"]
|
||||||
|
|
||||||
when@test:
|
when@test:
|
||||||
monolog:
|
monolog:
|
||||||
handlers:
|
handlers:
|
||||||
@@ -61,7 +73,7 @@ when@prod:
|
|||||||
handler: exceptions
|
handler: exceptions
|
||||||
excluded_http_codes: [404, 405]
|
excluded_http_codes: [404, 405]
|
||||||
buffer_size: 50
|
buffer_size: 50
|
||||||
channels: ["!bpn", "!myep"]
|
channels: ["!bpn", "!audit"]
|
||||||
exceptions:
|
exceptions:
|
||||||
type: rotating_file
|
type: rotating_file
|
||||||
path: "%kernel.logs_dir%/framework.%kernel.environment%.log"
|
path: "%kernel.logs_dir%/framework.%kernel.environment%.log"
|
||||||
@@ -73,17 +85,17 @@ when@prod:
|
|||||||
path: '%kernel.logs_dir%/bpn.%kernel.environment%.log'
|
path: '%kernel.logs_dir%/bpn.%kernel.environment%.log'
|
||||||
max_files: 5
|
max_files: 5
|
||||||
level: info
|
level: info
|
||||||
myep:
|
audit:
|
||||||
channels: [ "myep" ]
|
channels: [ "audit" ]
|
||||||
type: rotating_file
|
type: rotating_file
|
||||||
path: '%kernel.logs_dir%/myep.%kernel.environment%.log'
|
path: '%kernel.logs_dir%/audit.%kernel.environment%.log'
|
||||||
max_files: 5
|
max_files: 5
|
||||||
level: info
|
level: info
|
||||||
database:
|
database:
|
||||||
channels: ["myep"]
|
channels: ["audit"]
|
||||||
type: service
|
type: service
|
||||||
id: App\Logging\DatabaseHandler
|
id: App\Logging\DatabaseHandler
|
||||||
console:
|
console:
|
||||||
type: console
|
type: console
|
||||||
process_psr_3_messages: false
|
process_psr_3_messages: false
|
||||||
channels: ["!event", "!doctrine", "!bpn", "!myep"]
|
channels: ["!event", "!doctrine", "!bpn", "!audit"]
|
||||||
@@ -20,6 +20,7 @@ security:
|
|||||||
lazy: true
|
lazy: true
|
||||||
provider: bpn_user_provider
|
provider: bpn_user_provider
|
||||||
custom_authenticators:
|
custom_authenticators:
|
||||||
|
- App\Security\MyEpAuthenticator
|
||||||
- App\Security\BpnAuthenticator
|
- App\Security\BpnAuthenticator
|
||||||
user_checker: App\Security\UserChecker
|
user_checker: App\Security\UserChecker
|
||||||
switch_user:
|
switch_user:
|
||||||
|
|||||||
+14
-1
@@ -43,7 +43,10 @@ services:
|
|||||||
autoconfigure: true
|
autoconfigure: true
|
||||||
bind:
|
bind:
|
||||||
$tempDir: '%kernel.project_dir%/temp'
|
$tempDir: '%kernel.project_dir%/temp'
|
||||||
$logger: '@monolog.logger.myep'
|
# Application audit channel, not a MyE&P one: this is what feeds the
|
||||||
|
# log table via App\Logging\DatabaseHandler. Unbinding a service from
|
||||||
|
# it drops its records from that table.
|
||||||
|
$logger: '@monolog.logger.audit'
|
||||||
$houses: '%houses%'
|
$houses: '%houses%'
|
||||||
$xmlExport: '@xml_export.storage'
|
$xmlExport: '@xml_export.storage'
|
||||||
$xmlDump: '@xml_dump.storage'
|
$xmlDump: '@xml_dump.storage'
|
||||||
@@ -230,3 +233,13 @@ services:
|
|||||||
$defaults:
|
$defaults:
|
||||||
from: '%default_email_from%'
|
from: '%default_email_from%'
|
||||||
to: '%default_email_to%'
|
to: '%default_email_to%'
|
||||||
|
|
||||||
|
App\Security\OAuth2\MyEpClient:
|
||||||
|
arguments:
|
||||||
|
$options:
|
||||||
|
myep_oauth2_client_id: '%env(MYEP_OAUTH2_CLIENT_ID)%'
|
||||||
|
myep_oauth2_client_secret: '%env(MYEP_OAUTH2_CLIENT_SECRET)%'
|
||||||
|
myep_oauth2_url_authorize: '%env(MYEP_OAUTH2_URL_AUTHORIZE)%'
|
||||||
|
myep_oauth2_url_access_token: '%env(MYEP_OAUTH2_URL_ACCESS_TOKEN)%'
|
||||||
|
myep_oauth2_url_resource_owner_details: '%env(MYEP_OAUTH2_URL_RESOURCE_OWNER_DETAILS)%'
|
||||||
|
myep_oauth2_scopes: '%env(csv:MYEP_OAUTH2_SCOPES)%'
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Controller\Security;
|
||||||
|
|
||||||
|
use App\Security\OAuth2\MyEpClient;
|
||||||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||||
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
use Symfony\Component\Routing\Attribute\Route;
|
||||||
|
|
||||||
|
class OAuth2Controller extends AbstractController
|
||||||
|
{
|
||||||
|
public function __construct(private readonly MyEpClient $client)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#[Route('/myep-auth/init', name: 'app_myep_auth_init')]
|
||||||
|
public function init(Request $request): Response
|
||||||
|
{
|
||||||
|
$provider = $this->client->getProvider();
|
||||||
|
$url = $provider->getAuthorizationUrl();
|
||||||
|
$state = $provider->getState();
|
||||||
|
$request->getSession()->set('oauth2state', $state);
|
||||||
|
|
||||||
|
return $this->redirect($url);
|
||||||
|
}
|
||||||
|
|
||||||
|
#[Route('/myep-auth/check', name: 'app_myep_auth_check')]
|
||||||
|
public function check(): void
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -83,6 +83,19 @@ class Address
|
|||||||
return $instance;
|
return $instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function fromUserinfo(array $userinfo): static
|
||||||
|
{
|
||||||
|
$instance = new static();
|
||||||
|
$instance
|
||||||
|
->setStreet($userinfo['profile']['address']['street'] ?? null)
|
||||||
|
->setPostCode($userinfo['profile']['address']['postcode'] ?? null)
|
||||||
|
->setCity($userinfo['profile']['address']['city'] ?? null)
|
||||||
|
->setCountry($userinfo['profile']['address']['country'] ?? 'DE')
|
||||||
|
;
|
||||||
|
|
||||||
|
return $instance;
|
||||||
|
}
|
||||||
|
|
||||||
public function getStreet(): ?string
|
public function getStreet(): ?string
|
||||||
{
|
{
|
||||||
return $this->street;
|
return $this->street;
|
||||||
|
|||||||
@@ -65,6 +65,18 @@ class Communication
|
|||||||
return $instance;
|
return $instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function fromUserinfo(array $userinfo): static
|
||||||
|
{
|
||||||
|
$instance = new static();
|
||||||
|
$instance
|
||||||
|
->setPhone($userinfo['profile']['communication']['phone'] ?? null)
|
||||||
|
->setMobile($userinfo['profile']['communication']['mobile'] ?? null)
|
||||||
|
->setEmail($userinfo['profile']['communication']['email'] ?? null)
|
||||||
|
;
|
||||||
|
|
||||||
|
return $instance;
|
||||||
|
}
|
||||||
|
|
||||||
public function getPhone(): ?string
|
public function getPhone(): ?string
|
||||||
{
|
{
|
||||||
return $this->phone;
|
return $this->phone;
|
||||||
|
|||||||
@@ -238,6 +238,37 @@ class Teamer implements TimestampableEntityInterface, SoftDeletableEntityInterfa
|
|||||||
return $instance;
|
return $instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function fromUserinfo(array $userinfo): static
|
||||||
|
{
|
||||||
|
$instance = new static();
|
||||||
|
|
||||||
|
$instance
|
||||||
|
->setAcademicTitle($userinfo['profile']['title'] ?? null)
|
||||||
|
->setSalutation($userinfo['profile']['salutation'] ?? null)
|
||||||
|
->setFirstName($userinfo['profile']['first_name'] ?? null)
|
||||||
|
->setLastName($userinfo['profile']['last_name'] ?? null)
|
||||||
|
->setGender($userinfo['profile']['gender'] ?? null)
|
||||||
|
;
|
||||||
|
|
||||||
|
if (null !== $userinfo['profile']['date_of_birth'] ?? null) {
|
||||||
|
try {
|
||||||
|
$dateOfBirth = new \DateTimeImmutable(['profile']['date_of_birth']);
|
||||||
|
$instance->setDateOfBirth($dateOfBirth);
|
||||||
|
} catch (\Exception $e) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$address = Address::fromUserinfo($userinfo);
|
||||||
|
$communication = Communication::fromUserinfo($userinfo);
|
||||||
|
|
||||||
|
$instance
|
||||||
|
->setAddress($address)
|
||||||
|
->setCommunication($communication)
|
||||||
|
;
|
||||||
|
|
||||||
|
return $instance;
|
||||||
|
}
|
||||||
|
|
||||||
public function getId(): ?int
|
public function getId(): ?int
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
|
|||||||
@@ -0,0 +1,181 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Security;
|
||||||
|
|
||||||
|
use App\BusProNet\UserDataHandler;
|
||||||
|
use App\Entity\Teamer;
|
||||||
|
use App\Entity\User;
|
||||||
|
use App\Security\OAuth2\AuthorizationRequestException;
|
||||||
|
use App\Security\OAuth2\MyEpClient;
|
||||||
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
|
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
|
||||||
|
use Psr\Http\Client\ClientExceptionInterface;
|
||||||
|
use Psr\Log\LoggerInterface;
|
||||||
|
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||||
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||||
|
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
||||||
|
use Symfony\Component\Security\Core\Exception\AuthenticationException;
|
||||||
|
use Symfony\Component\Security\Core\Exception\CustomUserMessageAuthenticationException;
|
||||||
|
use Symfony\Component\Security\Http\Authenticator\AbstractAuthenticator;
|
||||||
|
use Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge;
|
||||||
|
use Symfony\Component\Security\Http\Authenticator\Passport\Passport;
|
||||||
|
use Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport;
|
||||||
|
use Symfony\Component\Security\Http\Util\TargetPathTrait;
|
||||||
|
|
||||||
|
class MyEpAuthenticator extends AbstractAuthenticator
|
||||||
|
{
|
||||||
|
private const ELIGIBLE_ROLES = ['ROLE_ADMIN', 'ROLE_TEAMER', 'ROLE_MANAGER', 'ROLE_HOUSE_MANAGER'];
|
||||||
|
|
||||||
|
use TargetPathTrait;
|
||||||
|
|
||||||
|
public function __construct(
|
||||||
|
private readonly MyEpClient $client,
|
||||||
|
private readonly UserDataHandler $userDataHandler,
|
||||||
|
private readonly EntityManagerInterface $entityManager,
|
||||||
|
private readonly UrlGeneratorInterface $urlGenerator,
|
||||||
|
private readonly LoggerInterface $logger,
|
||||||
|
) {
|
||||||
|
}
|
||||||
|
|
||||||
|
public function supports(Request $request): ?bool
|
||||||
|
{
|
||||||
|
return 'app_myep_auth_check' === $request->attributes->get('_route');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function authenticate(Request $request): Passport
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
$accessToken = $this->client->fetchAccessToken($request);
|
||||||
|
} catch (AuthorizationRequestException|IdentityProviderException $e) {
|
||||||
|
$this->logger->error('Login via MyE&P failed due to unobtainable access token', [
|
||||||
|
'exception' => $e,
|
||||||
|
]);
|
||||||
|
throw new CustomUserMessageAuthenticationException('Invalid token');
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
$provider = $this->client->getProvider();
|
||||||
|
$url = $provider->getResourceOwnerDetailsUrl($accessToken);
|
||||||
|
$request = $provider->getAuthenticatedRequest('GET', $url, $accessToken, [
|
||||||
|
'headers' => [
|
||||||
|
'Accept' => 'application/json',
|
||||||
|
'Content-Type' => 'application/json',
|
||||||
|
],
|
||||||
|
]);
|
||||||
|
$response = $provider->getHttpClient()->sendRequest($request);
|
||||||
|
} catch (ClientExceptionInterface $e) {
|
||||||
|
$this->logger->error('Login via MyE&P failed due to unexpected userinfo response');
|
||||||
|
throw new CustomUserMessageAuthenticationException('Login via MyE&P nicht möglich');
|
||||||
|
}
|
||||||
|
$userinfo = json_decode($response->getBody(), true);
|
||||||
|
$username = $userinfo['email'] ?? null;
|
||||||
|
|
||||||
|
if (null === $username) {
|
||||||
|
$this->logger->error('Login via MyE&P failed due to missing username claim');
|
||||||
|
throw new CustomUserMessageAuthenticationException('Login via MyE&P nicht möglich');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (null !== $this->createOrUpdateUserFromUserinfo($userinfo)) {
|
||||||
|
return new SelfValidatingPassport(new UserBadge($username));
|
||||||
|
}
|
||||||
|
|
||||||
|
throw new CustomUserMessageAuthenticationException('Login via MyE&P nicht möglich');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function onAuthenticationSuccess(Request $request, TokenInterface $token, string $firewallName): ?Response
|
||||||
|
{
|
||||||
|
/** @var User $user */
|
||||||
|
$user = $token->getUser();
|
||||||
|
|
||||||
|
$this->logger->info('Logged in');
|
||||||
|
|
||||||
|
if ($targetPath = $this->getTargetPath($request->getSession(), $firewallName)) {
|
||||||
|
return new RedirectResponse($targetPath);
|
||||||
|
}
|
||||||
|
|
||||||
|
$url = $this->urlGenerator->generate($user->getDefaultRoute());
|
||||||
|
|
||||||
|
return new RedirectResponse($url);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function onAuthenticationFailure(Request $request, AuthenticationException $exception): ?Response
|
||||||
|
{
|
||||||
|
$request->getSession()->getBag('flashes')->add('error', $exception->getMessage());
|
||||||
|
|
||||||
|
$redirectUrl = $this->urlGenerator->generate('app_security_login');
|
||||||
|
|
||||||
|
return new RedirectResponse($redirectUrl);
|
||||||
|
}
|
||||||
|
|
||||||
|
private function createOrUpdateUserFromUserinfo(array $userinfo): ?User
|
||||||
|
{
|
||||||
|
// User is expected to have at least one role
|
||||||
|
if (false === isset($userinfo['roles']) || 0 === count($userinfo['roles'])) {
|
||||||
|
// Claim keys only, the payload itself carries the full profile
|
||||||
|
$this->logger->warning('Login via MyE&P failed due to missing roles claim', [
|
||||||
|
'claims' => array_keys($userinfo),
|
||||||
|
]);
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// User is expected to have at least one of the roles teamer, manager, house manager or admin
|
||||||
|
if ([] === array_intersect(self::ELIGIBLE_ROLES, $userinfo['roles'])) {
|
||||||
|
$this->logger->warning('Login via MyE&P failed due to lack of an eligible role', [
|
||||||
|
'roles' => $userinfo['roles'],
|
||||||
|
'eligible_roles' => self::ELIGIBLE_ROLES,
|
||||||
|
]);
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if user is already present in local database
|
||||||
|
$user = $this
|
||||||
|
->entityManager
|
||||||
|
->getRepository(User::class)
|
||||||
|
->findOneBy(['email' => $userinfo['email']])
|
||||||
|
;
|
||||||
|
|
||||||
|
// Update existing user's roles and teamer data and return it
|
||||||
|
if (null !== $user) {
|
||||||
|
$user
|
||||||
|
->setRoles($userinfo['roles'])
|
||||||
|
->setHotelCodes($userinfo['profile']['hotel_codes'])
|
||||||
|
->setLastLoginAt(new \DateTimeImmutable('now'))
|
||||||
|
;
|
||||||
|
|
||||||
|
$this->entityManager->flush();
|
||||||
|
|
||||||
|
return $user;
|
||||||
|
}
|
||||||
|
|
||||||
|
$user = new User();
|
||||||
|
$user
|
||||||
|
->setFirstName($userinfo['profile']['first_name'])
|
||||||
|
->setLastName($userinfo['profile']['last_name'])
|
||||||
|
->setEmail($userinfo['profile']['communication']['email'])
|
||||||
|
->setBusProPersonId($userinfo['id'])
|
||||||
|
->setHotelCodes($userinfo['profile']['hotel_codes'])
|
||||||
|
->setRoles($userinfo['roles'])
|
||||||
|
;
|
||||||
|
|
||||||
|
if (true === in_array('ROLE_TEAMER', $user->getRoles(), true)) {
|
||||||
|
$teamer = Teamer::fromUserinfo($userinfo);
|
||||||
|
$user->setTeamer($teamer);
|
||||||
|
|
||||||
|
$this->entityManager->persist($teamer);
|
||||||
|
|
||||||
|
$this->logger->info('Create teamer', [
|
||||||
|
'teamer_id' => $teamer->getId(),
|
||||||
|
'teamer_name' => (string) $teamer,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->entityManager->persist($user);
|
||||||
|
$this->entityManager->flush();
|
||||||
|
|
||||||
|
return $user;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Security\OAuth2;
|
||||||
|
|
||||||
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
|
||||||
|
class AuthorizationRequestException extends \Exception
|
||||||
|
{
|
||||||
|
private Request $request;
|
||||||
|
|
||||||
|
public function __construct($message, $code, $request)
|
||||||
|
{
|
||||||
|
$this->request = $request;
|
||||||
|
|
||||||
|
parent::__construct($message, $code);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getRequest(): Request
|
||||||
|
{
|
||||||
|
return $this->request;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,88 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Security\OAuth2;
|
||||||
|
|
||||||
|
use League\OAuth2\Client\Provider\AbstractProvider;
|
||||||
|
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
|
||||||
|
use League\OAuth2\Client\Provider\GenericProvider;
|
||||||
|
use League\OAuth2\Client\Token\AccessTokenInterface;
|
||||||
|
use Psr\Log\LoggerInterface;
|
||||||
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||||
|
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||||
|
|
||||||
|
class MyEpClient
|
||||||
|
{
|
||||||
|
private array $config;
|
||||||
|
|
||||||
|
public function __construct(
|
||||||
|
private readonly UrlGeneratorInterface $urlGenerator,
|
||||||
|
private readonly LoggerInterface $logger,
|
||||||
|
array $options,
|
||||||
|
) {
|
||||||
|
$this->config = $this->resolveConfig($options);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @throws IdentityProviderException
|
||||||
|
* @throws AuthorizationRequestException
|
||||||
|
*/
|
||||||
|
public function fetchAccessToken(Request $request): AccessTokenInterface
|
||||||
|
{
|
||||||
|
if (null === $code = $request->query->get('code')) {
|
||||||
|
$this->logger->error('OAuth2 login request missing code');
|
||||||
|
throw new AuthorizationRequestException('Missing code', 400, $request);
|
||||||
|
}
|
||||||
|
|
||||||
|
$session = $request->getSession();
|
||||||
|
|
||||||
|
if (
|
||||||
|
null === $request->query->get('state')
|
||||||
|
|| $request->query->get('state') !== $session->get('oauth2state')
|
||||||
|
) {
|
||||||
|
$session->remove('oauth2state');
|
||||||
|
$this->logger->error('OAuth2 login request missing state or mismatch');
|
||||||
|
throw new AuthorizationRequestException('Missing state or mismatch', 400, $request);
|
||||||
|
}
|
||||||
|
|
||||||
|
$session->remove('oauth2state');
|
||||||
|
|
||||||
|
return $this->getProvider()->getAccessToken('authorization_code', [
|
||||||
|
'code' => $code,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getProvider(): AbstractProvider
|
||||||
|
{
|
||||||
|
$redirectUrl = $this
|
||||||
|
->urlGenerator
|
||||||
|
->generate('app_myep_auth_check', [], UrlGeneratorInterface::ABSOLUTE_URL)
|
||||||
|
;
|
||||||
|
|
||||||
|
return new GenericProvider([
|
||||||
|
'clientId' => $this->config['myep_oauth2_client_id'],
|
||||||
|
'clientSecret' => $this->config['myep_oauth2_client_secret'],
|
||||||
|
'redirectUri' => $redirectUrl,
|
||||||
|
'urlAuthorize' => $this->config['myep_oauth2_url_authorize'],
|
||||||
|
'urlAccessToken' => $this->config['myep_oauth2_url_access_token'],
|
||||||
|
'urlResourceOwnerDetails' => $this->config['myep_oauth2_url_resource_owner_details'],
|
||||||
|
'scopes' => $this->config['myep_oauth2_scopes'],
|
||||||
|
'scopeSeparator' => ' ',
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
private function resolveConfig(array $options): array
|
||||||
|
{
|
||||||
|
$optionsResolver = new OptionsResolver();
|
||||||
|
$optionsResolver->setRequired([
|
||||||
|
'myep_oauth2_client_id',
|
||||||
|
'myep_oauth2_client_secret',
|
||||||
|
'myep_oauth2_url_authorize',
|
||||||
|
'myep_oauth2_url_access_token',
|
||||||
|
'myep_oauth2_url_resource_owner_details',
|
||||||
|
'myep_oauth2_scopes',
|
||||||
|
]);
|
||||||
|
|
||||||
|
return $optionsResolver->resolve($options);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -45,7 +45,12 @@
|
|||||||
</button>
|
</button>
|
||||||
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
||||||
</form>
|
</form>
|
||||||
<div class="pt-4">
|
<div class="pt-4 flex space-x-4">
|
||||||
|
{% if feature('myep_login') %}
|
||||||
|
<a href="{{ path('app_myep_auth_init') }}" class="text-sm underline">
|
||||||
|
Login mit MyE&P
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
<a href="{{ path('app_security_password_reset') }}" class="text-sm underline">
|
<a href="{{ path('app_security_password_reset') }}" class="text-sm underline">
|
||||||
Passwort vergessen?
|
Passwort vergessen?
|
||||||
</a>
|
</a>
|
||||||
@@ -53,4 +58,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in new issue
Block a user