mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
fix: Add wiring for UserProviderInterface.
This commit is contained in:
parent
c1e2fd64ff
commit
7053b3fdff
@ -1,4 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
|
_defaults:
|
||||||
|
autowire: true
|
||||||
|
autoconfigure: true
|
||||||
|
|
||||||
chill.main.security.authorization.helper:
|
chill.main.security.authorization.helper:
|
||||||
class: Chill\MainBundle\Security\Authorization\AuthorizationHelper
|
class: Chill\MainBundle\Security\Authorization\AuthorizationHelper
|
||||||
arguments:
|
arguments:
|
||||||
@ -6,47 +10,47 @@ services:
|
|||||||
$hierarchy: "%security.role_hierarchy.roles%"
|
$hierarchy: "%security.role_hierarchy.roles%"
|
||||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||||
Chill\MainBundle\Security\Authorization\AuthorizationHelper: '@chill.main.security.authorization.helper'
|
Chill\MainBundle\Security\Authorization\AuthorizationHelper: '@chill.main.security.authorization.helper'
|
||||||
|
|
||||||
chill.main.role_provider:
|
chill.main.role_provider:
|
||||||
class: Chill\MainBundle\Security\RoleProvider
|
class: Chill\MainBundle\Security\RoleProvider
|
||||||
|
|
||||||
chill.main.user_provider:
|
chill.main.user_provider:
|
||||||
class: Chill\MainBundle\Security\UserProvider\UserProvider
|
class: Chill\MainBundle\Security\UserProvider\UserProvider
|
||||||
arguments:
|
|
||||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
Symfony\Component\Security\Core\User\UserProviderInterface: chill.main.user_provider
|
||||||
|
|
||||||
Chill\MainBundle\Security\Authorization\ChillExportVoter:
|
Chill\MainBundle\Security\Authorization\ChillExportVoter:
|
||||||
arguments:
|
arguments:
|
||||||
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
|
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
|
||||||
tags:
|
tags:
|
||||||
- { name: security.voter }
|
- { name: security.voter }
|
||||||
|
|
||||||
Chill\MainBundle\Security\PasswordRecover\TokenManager:
|
Chill\MainBundle\Security\PasswordRecover\TokenManager:
|
||||||
arguments:
|
arguments:
|
||||||
$secret: '%kernel.secret%'
|
$secret: '%kernel.secret%'
|
||||||
$logger: '@Psr\Log\LoggerInterface'
|
$logger: '@Psr\Log\LoggerInterface'
|
||||||
|
|
||||||
Chill\MainBundle\Security\PasswordRecover\RecoverPasswordHelper:
|
Chill\MainBundle\Security\PasswordRecover\RecoverPasswordHelper:
|
||||||
arguments:
|
arguments:
|
||||||
$tokenManager: '@Chill\MainBundle\Security\PasswordRecover\TokenManager'
|
$tokenManager: '@Chill\MainBundle\Security\PasswordRecover\TokenManager'
|
||||||
$urlGenerator: '@Symfony\Component\Routing\Generator\UrlGeneratorInterface'
|
$urlGenerator: '@Symfony\Component\Routing\Generator\UrlGeneratorInterface'
|
||||||
$mailer: '@Chill\MainBundle\Notification\Mailer'
|
$mailer: '@Chill\MainBundle\Notification\Mailer'
|
||||||
$routeParameters: "%chill_main.notifications%"
|
$routeParameters: "%chill_main.notifications%"
|
||||||
|
|
||||||
Chill\MainBundle\Security\PasswordRecover\PasswordRecoverEventSubscriber:
|
Chill\MainBundle\Security\PasswordRecover\PasswordRecoverEventSubscriber:
|
||||||
arguments:
|
arguments:
|
||||||
$locker: '@Chill\MainBundle\Security\PasswordRecover\PasswordRecoverLocker'
|
$locker: '@Chill\MainBundle\Security\PasswordRecover\PasswordRecoverLocker'
|
||||||
tags:
|
tags:
|
||||||
- { name: kernel.event_subscriber }
|
- { name: kernel.event_subscriber }
|
||||||
|
|
||||||
Chill\MainBundle\Security\PasswordRecover\PasswordRecoverLocker:
|
Chill\MainBundle\Security\PasswordRecover\PasswordRecoverLocker:
|
||||||
arguments:
|
arguments:
|
||||||
$chillRedis: '@Chill\MainBundle\Redis\ChillRedis'
|
$chillRedis: '@Chill\MainBundle\Redis\ChillRedis'
|
||||||
$logger: '@Psr\Log\LoggerInterface'
|
$logger: '@Psr\Log\LoggerInterface'
|
||||||
|
|
||||||
Chill\MainBundle\Security\PasswordRecover\PasswordRecoverVoter:
|
Chill\MainBundle\Security\PasswordRecover\PasswordRecoverVoter:
|
||||||
arguments:
|
arguments:
|
||||||
$locker: '@Chill\MainBundle\Security\PasswordRecover\PasswordRecoverLocker'
|
$locker: '@Chill\MainBundle\Security\PasswordRecover\PasswordRecoverLocker'
|
||||||
$requestStack: '@Symfony\Component\HttpFoundation\RequestStack'
|
$requestStack: '@Symfony\Component\HttpFoundation\RequestStack'
|
||||||
tags:
|
tags:
|
||||||
- { name: security.voter }
|
- { name: security.voter }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user