Vonage REST API client for PHP. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
908
stars
181
forks
source link
Verify v2 - Call to undefined method Vonage\Client\APIResource::setAuthHandler() #488
Closed
kissifrot closed 1 month ago
Expected Behavior
Verify v2 calls should work
Current Behavior
Error
Call to undefined method Vonage\Client\APIResource::setAuthHandler()
Possible Solution
In src/Verify2/ClientFactory.php just replace calls to
setAuthHandler()
withsetAuthHandlers()
:slightly_smiling_face:Steps to Reproduce (for bugs)
Just run
$client->verify2()->startVerification($verification)
Context
Well just tired to implement Verify v2 instead of v1 :slightly_smiling_face:
Your Environment