| Total Complexity | 3 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class SecurityDependencyProvider extends AbstractDependencyProvider |
||
| 11 | { |
||
| 12 | public const AUTHENTICATOR_LIST = 'authenticator.list'; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param \Xervice\Core\Business\Model\Dependency\DependencyContainerInterface $container |
||
| 16 | * |
||
| 17 | * @return \Xervice\Core\Business\Model\Dependency\DependencyContainerInterface |
||
| 18 | */ |
||
| 19 | 1 | public function handleDependencies(DependencyContainerInterface $container): DependencyContainerInterface |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Give a list of valid authenticator (string => AuthenticatorInterface::class) |
||
| 28 | * e.g. |
||
| 29 | * token => tokenAuthenticator::class |
||
| 30 | * |
||
| 31 | * @return array |
||
| 32 | */ |
||
| 33 | protected function getAuthenticatorList(): array |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param \Xervice\Core\Business\Model\Dependency\DependencyContainerInterface $container |
||
| 40 | * |
||
| 41 | * @return \Xervice\Core\Business\Model\Dependency\DependencyContainerInterface |
||
| 42 | */ |
||
| 43 | 1 | protected function addAuthenticatorList( |
|
| 52 |