2020-03-14 20:19:16 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
2020-04-12 13:59:10 +02:00
|
|
|
use Laminas\ServiceManager\Proxy\LazyServiceFactory;
|
|
|
|
use Shlinkio\Shlink\Common\Mercure\LcobucciJwtProvider;
|
|
|
|
|
2020-03-14 20:19:16 +01:00
|
|
|
return [
|
|
|
|
|
|
|
|
'mercure' => [
|
|
|
|
'public_hub_url' => null,
|
|
|
|
'internal_hub_url' => null,
|
|
|
|
'jwt_secret' => null,
|
2020-04-12 12:21:05 +02:00
|
|
|
'jwt_days_duration' => 5,
|
|
|
|
'jwt_issuer' => 'Shlink',
|
2020-03-14 20:19:16 +01:00
|
|
|
],
|
|
|
|
|
2020-04-12 13:59:10 +02:00
|
|
|
'dependencies' => [
|
|
|
|
'delegators' => [
|
|
|
|
LcobucciJwtProvider::class => [
|
|
|
|
LazyServiceFactory::class,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'lazy_services' => [
|
|
|
|
'class_map' => [
|
|
|
|
LcobucciJwtProvider::class => LcobucciJwtProvider::class,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
2020-03-14 20:19:16 +01:00
|
|
|
];
|