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 Entity ID and Content ID to Verify V2 #464

Closed SecondeJK closed 7 months ago

SecondeJK commented 7 months ago

This PR adds two new optional fields into the SMS Workflow for Verify.

Description

entity_id and content_id can now be passed into the SMSWorkflow for 2FA processes using Indian carriers.

Motivation and Context

Parity for Vonage APIs

How Has This Been Tested?

New test added to make sure the request is made with the new keys.

Example Output or Screenshots (if appropriate):

Types of changes

Checklist:

codecov-commenter commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c0cd476) 79.01% compared to head (7a02496) 79.02%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #464 +/- ## ============================================ + Coverage 79.01% 79.02% +0.01% Complexity 2337 2337 ============================================ Files 218 218 Lines 6281 6285 +4 ============================================ + Hits 4963 4967 +4 Misses 1318 1318 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.