Vonage / vonage-php-sdk-core

Vonage REST API client for PHP. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
https://developer.vonage.com/
Apache License 2.0
908 stars 181 forks source link

Verify v2 - Call to undefined method Vonage\Client\APIResource::setAuthHandler() #488

Closed kissifrot closed 1 month ago

kissifrot commented 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() with setAuthHandlers() :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

SecondeJK commented 1 month ago

Release coming shortly

SecondeJK commented 1 month ago

Fixed in #489, 4.8.2. Thank you for reporting!