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(multiple-auth): add support for multiple auth #79

Merged
merged 17 commits into from
Dec 5, 2023

Conversation

sufyankhanrao
Copy link
Collaborator

What

This PR adds support for multiple auth i.e. authentication using And/Or combination. Now core library now uses the auth builder to validate and apply the provided auth combinations. It also uses the same design for single auth.

Why

To support the multiple auth feature

closes #78

Type of change

Select multiple if applicable.

  • 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 a breaking change)
  • Tests (adds or updates tests)
  • Documentation (adds or updates documentation)
  • Refactor (style improvements, performance improvements, code refactoring)
  • Revert (reverts a commit)
  • CI/Build (adds or updates a script, change in external dependencies)

Dependency Change

If a new dependency is being added, please ensure that it adheres to the following guideline https://github.com/apimatic/apimatic-codegen/wiki/Policy-of-adding-new-dependencies-in-the-core-libraries

Breaking change

If the PR is introducing a breaking change, please ensure that it adheres to the following guideline https://github.com/apimatic/apimatic-codegen/wiki/Guidelines-for-maintaining-core-libraries

Testing

List the steps that were taken to test the changes

Checklist

  • My code follows the coding conventions
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added new unit tests

This commit adds support for multiple auth i.e. authentication using And/Or combination. Now core library now uses the auth builder to validate and apply the provided auth combinations. It also uses the same design for single auth.

closes #78
@sufyankhanrao sufyankhanrao added the enhancement New feature or request label Oct 3, 2023
@sufyankhanrao sufyankhanrao self-assigned this Oct 3, 2023
asadali214
asadali214 previously approved these changes Oct 6, 2023
…patibility for existing SDKs containing single auth
asadali214
asadali214 previously approved these changes Oct 16, 2023
asadali214
asadali214 previously approved these changes Oct 24, 2023
@sufyankhanrao sufyankhanrao force-pushed the 78-add-support-for-multiple-auth branch from f6c9675 to f8a9026 Compare November 23, 2023 16:13
@sufyankhanrao sufyankhanrao merged commit 3baa14a into main Dec 5, 2023
6 checks passed
@sufyankhanrao sufyankhanrao deleted the 78-add-support-for-multiple-auth branch December 5, 2023 06:49
sufyankhanrao added a commit that referenced this pull request Dec 8, 2023
sufyankhanrao added a commit that referenced this pull request Dec 8, 2023
sufyankhanrao added a commit that referenced this pull request Dec 8, 2023
sufyankhanrao added a commit that referenced this pull request Dec 8, 2023
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.

Add support for multiple authentication
2 participants