mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf30775562 |
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
"manifests": {
|
||||||
|
"ad3n/jwt-refresh-token-bundle": {
|
||||||
|
"manifest": {
|
||||||
|
"bundles": {
|
||||||
|
"Gesdinet\\JWTRefreshTokenBundle\\GesdinetJWTRefreshTokenBundle": [
|
||||||
|
"all"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/",
|
||||||
|
"src/": "%SRC_DIR%/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"files": {
|
||||||
|
"config/packages/gesdinet_jwt_refresh_token.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"gesdinet_jwt_refresh_token:",
|
||||||
|
" refresh_token_class: App\\Entity\\RefreshToken",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/routes/gesdinet_jwt_refresh_token.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"gesdinet_jwt_refresh_token:",
|
||||||
|
" path: /api/token/refresh",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"src/Entity/RefreshToken.php": {
|
||||||
|
"contents": [
|
||||||
|
"<?php",
|
||||||
|
"",
|
||||||
|
"namespace App\\Entity;",
|
||||||
|
"",
|
||||||
|
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||||
|
"use Gesdinet\\JWTRefreshTokenBundle\\Entity\\RefreshToken as BaseRefreshToken;",
|
||||||
|
"",
|
||||||
|
"#[ORM\\Entity]",
|
||||||
|
"#[ORM\\Table(name: 'refresh_tokens')]",
|
||||||
|
"class RefreshToken extends BaseRefreshToken",
|
||||||
|
"{",
|
||||||
|
"}",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ref": "2390b4ed5c195e0b3f6dea45221f3b7c0af523a0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+4
-4
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
"recipes": {
|
"recipes": {
|
||||||
"odiseoteam/sylius-rbac-plugin": [
|
"ad3n/jwt-refresh-token-bundle": [
|
||||||
"3.0"
|
"1.0"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"recipe-conflicts": [],
|
"recipe-conflicts": [],
|
||||||
@@ -12,9 +12,9 @@
|
|||||||
"_links": {
|
"_links": {
|
||||||
"repository": "github.com/symfony/recipes-contrib",
|
"repository": "github.com/symfony/recipes-contrib",
|
||||||
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
||||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2046/{package_dotted}.{version}.json",
|
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1751/{package_dotted}.{version}.json",
|
||||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2046/archived/{package_dotted}/{ref}.json",
|
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1751/archived/{package_dotted}/{ref}.json",
|
||||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"manifests": {
|
|
||||||
"odiseoteam/sylius-rbac-plugin": {
|
|
||||||
"manifest": {
|
|
||||||
"bundles": {
|
|
||||||
"Odiseo\\SyliusRbacPlugin\\OdiseoSyliusRbacPlugin": [
|
|
||||||
"all"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"copy-from-recipe": {
|
|
||||||
"config/": "%CONFIG_DIR%/"
|
|
||||||
},
|
|
||||||
"post-install-output": [
|
|
||||||
" <bg=blue;fg=white> </>",
|
|
||||||
" <bg=blue;fg=white> What's next? </>",
|
|
||||||
" <bg=blue;fg=white> </>",
|
|
||||||
"",
|
|
||||||
" * <fg=blue>Read</> the full installation guide at",
|
|
||||||
" <comment>https://github.com/odiseoteam/SyliusRbacPlugin/blob/master/doc/installation.md</>",
|
|
||||||
"",
|
|
||||||
" * <fg=blue>Grant</> yourself access. A fresh install denies every administrator",
|
|
||||||
" everything, including the screen that assigns roles:",
|
|
||||||
" <comment>bin/console odiseo:rbac:grant <username-or-email> super_admin --create</>"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"files": {
|
|
||||||
"config/packages/odiseo_sylius_rbac_plugin.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"imports:",
|
|
||||||
" - { resource: \"@OdiseoSyliusRbacPlugin/config/config.yaml\" }",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
},
|
|
||||||
"config/routes/odiseo_sylius_rbac_plugin.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"odiseo_sylius_rbac_admin:",
|
|
||||||
" resource: \"@OdiseoSyliusRbacPlugin/config/routes/admin.yaml\"",
|
|
||||||
" prefix: '/%sylius_admin.path_name%'",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ref": "f2bb4d7451052362ab1c0cee03d3fc604258fb2b"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user