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

Feat/allow to init client without providing parameters #42

Merged

Conversation

Dovchik
Copy link
Contributor

@Dovchik Dovchik commented Feb 16, 2024

Move projectId to first place as a param.
Allow initialization of sinchClient Voice or Verification without settings params projectId, keyid and keysecret.
I would like to still have just one constructor for SinchClient to make an accent on unified credentials.
Add example on how to init Voice or Verification client
When accessing products which relies on unified credentials - Sms, Numbers, Conversation, Auth - without providing them , an aggregate exception will be thrown.

@Dovchik Dovchik added the enhancement New feature or request label Feb 16, 2024
@Dovchik Dovchik changed the title Feat/allow to init client without providing valid parameters Feat/allow to init client without providing parameters Feb 16, 2024
@Dovchik Dovchik merged commit 3db2026 into main Feb 20, 2024
3 checks passed
@Dovchik Dovchik deleted the feat/allow-to-init-client-without-providing-valid-parameters branch February 20, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants