Configuration for yousign bundle 2.2

This commit is contained in:
Picoss
2019-02-08 15:15:58 +01:00
parent bf5f3bb8da
commit cecfb65d8a
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,6 @@
picoss_yousign:
api_url: '%env(YOUSIGN_API_URL)%'
iframe_url: '%env(YOUSIGN_IFRAME_URL)%'
api_key: '%env(YOUSIGN_API_KEY)%'
username: '%env(YOUSIGN_USERNAME)%'
password: '%env(YOUSIGN_PASSWORD)%'
+17
View File
@@ -0,0 +1,17 @@
{
"bundles": {
"Picoss\\YousignBundle\\PicossYousignBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "To create a demo account, visit https://demo.yousign.fr/fr/public/api/registration",
"#2": "YOUSIGN_ENV should be 'demo' or 'prod'",
"YOUSIGN_API_URL": "https://apidemo.yousign.fr:8181",
"YOUSIGN_IFRAME_URL": "https://demo.yousign.fr",
"YOUSIGN_API_KEY": "api_key",
"YOUSIGN_USERNAME": "username",
"YOUSIGN_PASSWORD": "password"
}
}