hydra-sql/config/services.yaml

45 lines
2.1 KiB
YAML
Raw Normal View History

2022-04-07 11:49:17 +02:00
# This file is the entry point to configure your own services.
# Files in the packages/ subdirectory configure your dependencies.
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
2022-05-03 15:09:42 +02:00
fetchDatas: "lastname, firstname, email, random"
2022-05-03 08:54:45 +02:00
# Paramètres de connexion base de données: "nome du serveur", "nom utilisateur", "mot de passe", "nom de la bdd", "port"
urlDatabase: "%env(resolve:urlDatabase)%"
dbUser: "%env(resolve:dbUser)%"
dbPassword: "%env(resolve:dbPassword)%"
queryHashPassword: "%env(resolve:queryHashPassword)%"
2022-05-03 15:09:42 +02:00
queryFetchDatas: "%env(resolve:queryFetchDatas)%"
2022-05-03 08:54:45 +02:00
hashMethod:
passwordColumnName: "password"
userTableName: "USER"
emailColumnName: "email"
2022-05-03 15:09:42 +02:00
urlLogoutSuccess: "http://portal.mse.local:8000/logout-success"
urlIssuer:
- "http://portal.mse.local:8000/"
2022-04-07 11:49:17 +02:00
2022-05-03 08:54:45 +02:00
url_login_challenge: '%env(resolve:url_login_challenge)%'
url_login_challenge_reject: '%env(resolve:url_login_challenge_reject)%'
url_login_challenge_accept: '%env(resolve:url_login_challenge_accept)%'
url_consent_challenge_reject: '%env(resolve:url_consent_challenge_reject)%'
url_consent_challenge: '%env(resolve:url_consent_challenge)%'
url_consent_challenge_accept: '%env(resolve:url_consent_challenge_accept)%'
2022-04-07 11:49:17 +02:00
services:
# default configuration for services in *this* file
_defaults:
autowire: true # Automatically injects dependencies in your services.
autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
# makes classes in src/ available to be used as services
# this creates a service per class whose id is the fully-qualified class name
App\:
resource: '../src/'
exclude:
- '../src/DependencyInjection/'
- '../src/Entity/'
- '../src/Kernel.php'
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones