45 lines
2.1 KiB
YAML
45 lines
2.1 KiB
YAML
# 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:
|
|
fetchDatas: "lastname, firstname, email, random"
|
|
# 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)%"
|
|
queryFetchDatas: "%env(resolve:queryFetchDatas)%"
|
|
hashMethod:
|
|
passwordColumnName: "password"
|
|
userTableName: "USER"
|
|
emailColumnName: "email"
|
|
urlLogoutSuccess: "http://portal.mse.local:8000/logout-success"
|
|
urlIssuer:
|
|
- "http://portal.mse.local:8000/"
|
|
|
|
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)%'
|
|
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
|