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 911bed0 commit 045ed5aCopy full SHA for 045ed5a
src/Account/ClientFactory.php
@@ -6,6 +6,7 @@
6
7
use Psr\Container\ContainerInterface;
8
use Vonage\Client\APIResource;
9
+use Vonage\Client\Credentials\Handler\BasicHandler;
10
use Vonage\Client\Credentials\Handler\BasicQueryHandler;
11
12
class ClientFactory
@@ -18,7 +19,7 @@ public function __invoke(ContainerInterface $container): Client
18
19
->setBaseUrl($accountApi->getClient()->getRestUrl())
20
->setIsHAL(false)
21
->setBaseUri('/account')
- ->setAuthHandlers(new BasicQueryHandler())
22
+ ->setAuthHandlers(new BasicHandler())
23
;
24
25
return new Client($accountApi);
0 commit comments