[lexik_jwt_authentication] Add recipe for v2.5

This commit is contained in:
Robin Chalas
2018-06-29 20:32:10 +02:00
parent f480647bdf
commit dc38f0073e
2 changed files with 21 additions and 0 deletions
@@ -0,0 +1,4 @@
lexik_jwt_authentication:
secret_key: '%env(resolve:JWT_SECRET_KEY)%'
public_key: '%env(resolve:JWT_PUBLIC_KEY)%'
pass_phrase: '%env(JWT_PASSPHRASE)%'
@@ -0,0 +1,17 @@
{
"bundles": {
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%"
},
"aliases": ["jwt-auth"],
"env": {
"JWT_SECRET_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/private.pem",
"JWT_PUBLIC_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/public.pem",
"JWT_PASSPHRASE": "%generate(secret)%"
},
"gitignore": [
"/%CONFIG_DIR%/jwt/*.pem"
]
}