We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7735ca5 commit 2c6a738Copy full SHA for 2c6a738
src/Insights/ClientFactory.php
@@ -13,7 +13,7 @@
13
14
use Psr\Container\ContainerInterface;
15
use Vonage\Client\APIResource;
16
-use Vonage\Client\Credentials\Handler\BasicHandler;
+use Vonage\Client\Credentials\Handler\BasicQueryHandler;
17
18
class ClientFactory
19
{
@@ -22,7 +22,7 @@ public function __invoke(ContainerInterface $container): Client
22
/** @var APIResource $api */
23
$api = $container->make(APIResource::class);
24
$api->setIsHAL(false);
25
- $api->setAuthHandler(new BasicHandler());
+ $api->setAuthHandler(new BasicQueryHandler());
26
27
return new Client($api);
28
}
0 commit comments