Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finished GNP Auth and SimSwap MVP implementation #475

Merged
merged 9 commits into from
Jun 24, 2024
Merged

Conversation

SecondeJK
Copy link
Contributor

@SecondeJK SecondeJK commented May 22, 2024

This PR adds a number of features which have been led by the addition of the first Ericsson Global Network Platform API from Vonage - SimSwap.

Description

In order to use SimSwap, a new handler for credentials has been introduced - GnpHandler and a new credentials type, Gnp. These credentials hold the registered subscriber number and extend off the Keypair object.

GNP requires an OAuth flow, which has been implemented within the GnpHandler object. Please note that a lot of this behaviour is for internals only, and should never need to be modified by the end developer.

You can find more information on what the Handler is doing here:
https://developer.vonage.com/en/api/camara/auth

Motivation and Context

Evolution of Vonage SDKs and APIs

How Has This Been Tested?

New test suite added for both GNP handlers and SimSwap

Example Output or Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@SecondeJK SecondeJK merged commit 060cbfe into main Jun 24, 2024
8 checks passed
SecondeJK added a commit that referenced this pull request Jun 24, 2024
* Finished GNP Auth and SimSwap MVP implementation

* Add documentation

* PSR-4 fix

* clean imports

* Finished GNP Auth and SimSwap MVP implementation

* bring psr7 trait back (#482)

* Fix broken git history
SecondeJK added a commit that referenced this pull request Jun 28, 2024
* Finished GNP Auth and SimSwap MVP implementation

* Add documentation

* init

* Add next workflow to SDK (#476)

* Add from validation on request (#477)

* Feature/conversations (#478)

* WIP

* WIP

* WIP

* WIP

* WIP

* refactor to remove attempt at putting all event objects in

* Added docs

* phpstan fix number object

* Update README.md

8.1 is minimum

* Remove Orphaned Code (#480)

* Big cleanup of unused internals

* clean some unused imports

* Fix baseline, mark some deprecations coming

* fix ConversationClientFactory (#479)

Co-authored-by: yosh <yosh@latvm.unnamed.typo.pw>

* Remove a load of traits not being used by anything (#481)

* bring psr7 trait back (#482)

* Finished GNP Auth and SimSwap MVP implementation (#475)

* Finished GNP Auth and SimSwap MVP implementation

* Add documentation

* PSR-4 fix

* clean imports

* Finished GNP Auth and SimSwap MVP implementation

* bring psr7 trait back (#482)

* Fix broken git history

* Bulk of work pre-testing

* Testing complete

* Configure scopes correctly within the client, remove rogue die statement

---------

Co-authored-by: Yoshitaka Takeuchi <yosh@baud.jp>
Co-authored-by: yosh <yosh@latvm.unnamed.typo.pw>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant