This PR completes the work needed to implement Number Verification and SIMSwap GNP.
Description
This is a significant release in that it introduces some new classes and behaviour.
Firstly, it's worth noting that each API uses two different OAuth mechanisms, something that this SDK was not designed to do. From this perspective, the internals in order to be able to use them are somewhat against SOLID principals - each new API has it's own handler, and that handler behaves differently in each case.
Tech debt wise, this will be addressed with the introduction of PHP DI in v5.0 of this library.
The internals of this are not meant for developers to configure.
Motivation and Context
Evolution of Vonage PHP SDK
How Has This Been Tested?
Three new test suites have been added. One for the new type of OAuth handler, and one each for the new API clients.
Example Output or Screenshots (if appropriate):
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
This PR completes the work needed to implement Number Verification and SIMSwap GNP.
Description
This is a significant release in that it introduces some new classes and behaviour. Firstly, it's worth noting that each API uses two different OAuth mechanisms, something that this SDK was not designed to do. From this perspective, the internals in order to be able to use them are somewhat against SOLID principals - each new API has it's own handler, and that handler behaves differently in each case.
Tech debt wise, this will be addressed with the introduction of PHP DI in v5.0 of this library.
The internals of this are not meant for developers to configure.
Motivation and Context
Evolution of Vonage PHP SDK
How Has This Been Tested?
Three new test suites have been added. One for the new type of OAuth handler, and one each for the new API clients.
Example Output or Screenshots (if appropriate):
Types of changes
Checklist: