mirror of
https://github.com/elyby/accounts.git
synced 2024-12-29 16:40:25 +05:30
dd2c4bc413
Все действия, связанные с аккаунтами, теперь вызываются через url `/api/v1/accounts/<id>/<action>`. Добавлена вменяемая система разграничения прав на основе RBAC. Теперь oAuth2 токены генерируются как случайная строка в 40 символов длинной, а не UUID. Исправлен баг с неправильным временем жизни токена в ответе успешного запроса аутентификации. Теперь все unit тесты можно успешно прогнать без наличия интернета.
68 lines
2.2 KiB
JSON
68 lines
2.2 KiB
JSON
{
|
|
"name": "elyby/accounts",
|
|
"description": "Authentication service for Ely.by",
|
|
"homepage": "https://account.ely.by",
|
|
"type": "project",
|
|
"minimum-stability": "stable",
|
|
"require": {
|
|
"php": "^7.1",
|
|
"yiisoft/yii2": "2.0.12",
|
|
"yiisoft/yii2-swiftmailer": "*",
|
|
"ramsey/uuid": "^3.5.0",
|
|
"league/oauth2-server": "^4.1",
|
|
"yiisoft/yii2-redis": "~2.0.0",
|
|
"guzzlehttp/guzzle": "^6.0.0",
|
|
"php-amqplib/php-amqplib": "^2.6.2",
|
|
"ely/yii2-tempmail-validator": "~1.0.0",
|
|
"emarref/jwt": "~1.0.3",
|
|
"ely/amqp-controller": "dev-master#d7f8cdbc66c45e477c9c7d5d509bc0c1b11fd3ec",
|
|
"ely/email-renderer": "dev-master#9458ef44bbee0186acc8417fd2f0839789d13db4",
|
|
"predis/predis": "^1.0",
|
|
"mito/yii2-sentry": "^1.0",
|
|
"spomky-labs/otphp": "^9.0.2",
|
|
"bacon/bacon-qr-code": "^1.0",
|
|
"roave/security-advisories": "dev-master",
|
|
"paragonie/constant_time_encoding": "^2.0",
|
|
"webmozart/assert": "^1.2.0"
|
|
},
|
|
"require-dev": {
|
|
"yiisoft/yii2-codeception": "*",
|
|
"yiisoft/yii2-debug": "*",
|
|
"yiisoft/yii2-faker": "*",
|
|
"flow/jsonpath": "^0.3.1",
|
|
"phpunit/phpunit": "^5.7",
|
|
"codeception/codeception": "2.3.4",
|
|
"codeception/specify": "*",
|
|
"codeception/verify": "*",
|
|
"phploc/phploc": "^3.0.1",
|
|
"mockery/mockery": "dev-master#89db0caa22276c470e4add719f3d181a78dec827",
|
|
"php-mock/php-mock-mockery": "dev-mockery-1.0.0#03956ed4b34ae25bc20a0677500f4f4b416f976c"
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "composer",
|
|
"url": "https://asset-packagist.org"
|
|
},
|
|
{
|
|
"type": "git",
|
|
"url": "git@gitlab.ely.by:elyby/amqp-controller.git"
|
|
},
|
|
{
|
|
"type": "git",
|
|
"url": "git@gitlab.ely.by:elyby/email-renderer.git"
|
|
},
|
|
{
|
|
"type": "git",
|
|
"url": "git@github.com:erickskrauch/php-mock-mockery.git"
|
|
}
|
|
],
|
|
"scripts": {
|
|
"phploc" : "phploc ./api ./common ./console"
|
|
},
|
|
"autoload": {
|
|
"files": [
|
|
"common/consts.php"
|
|
]
|
|
}
|
|
}
|