# 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:
    upload_directory: '%kernel.project_dir%/../../ftc_storage/'
    sending_email: 'securefiletransfer@cumas365.com'
    company_name: 'SecureFileTransfer'
    security_key: 'jjg8CBmUPHaU4Q6MQVsgkftNEXpwdvHcNJU8DbWWfJEbrWhq5G2wmghtJb6DbeEPLnvwgBikJQjxJXQyW3kPdpCD4hQGrhiFvZm3'
    sms_client_number: 'C2289AB815E1F483A5438FE5B1B0555F17EB4280'
    sms_sender: '01607175500'
    max_amount_users: '20'
    support_email: 'tickets@cumas365.com'


#    tenant_id: '4a82e0c0-85eb-461d-909e-c4b5a5b9565f'
#    client_id: '5aa4fea8-6242-4fa3-bb65-e366299e1f6d'
#    client_secret: 'EMe7Q~GIXAX7X1U.MpnUYLWTrTDg5C-TQa3ld'

services:
    App\EventListener\AccessDeniedListener:
        arguments:
            $security: '@security.helper'
            $router: '@router'
        tags:
            - { name: 'kernel.event_subscriber' }

    # 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.
        #bind:
         #   $uploadDir: '%upload_directory%'

    # 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'

    app.security.auth_code_mailer:
      alias: App\Security\AuthCodeMailer

    app.security.two_factor_trusted_ips:
      alias: App\Security\TwoFactorTrustedIpsProvider

    # add more service definitions when explicit configuration is needed
    # please note that last definitions always *replace* previous ones
