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

Add ability to add optional redirect url #454

Closed SecondeJK closed 9 months ago

SecondeJK commented 9 months ago

This PR allows Verify v2 requests for Silent Auth to go out with the optional redirect_url

Description

The option modifies the VerificationWorkflow object to allow custom keys to be added (which are likely to be soon used in other Verify channels)

Motivation and Context

New parameter that is already available

How Has This Been Tested?

New test added to make sure that the outgoing response has the correct key

Example Output or Screenshots (if appropriate):

Types of changes

Checklist: