Validacion API/external
This commit is contained in:
@ -27,4 +27,9 @@ return [
|
||||
'/api/login/',
|
||||
'/api/logout'
|
||||
],
|
||||
'externalPaths' => [
|
||||
'/api/external' => [
|
||||
'/toku' => $_ENV['TOKU_TOKEN']
|
||||
],
|
||||
]
|
||||
];
|
||||
|
@ -17,9 +17,10 @@ return [
|
||||
$container->get(Psr\Log\LoggerInterface::class),
|
||||
$container->get(Incoviba\Service\API::class),
|
||||
$container->get(Incoviba\Service\Login::class),
|
||||
$container->get('API_KEY'),
|
||||
$container->get('permittedPaths'),
|
||||
$container->get('simplePaths'),
|
||||
$container->get('API_KEY')
|
||||
$container->get('externalPaths'),
|
||||
);
|
||||
}
|
||||
];
|
||||
|
Reference in New Issue
Block a user