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

AUTH manager refactoring #13

Closed
wants to merge 2 commits into from

Conversation

JPPortier
Copy link
Contributor

Dissociate the OAS alias names for security schemes from the authorized scheme keyword (https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml)

OAS files are having security table:

security:
  - BearerAuth: []
  - 

to be mapped to a Security schemes section

  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

So BearerAuth is a free form string (from security) and Bearer have to be in list from https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml

Refactoring code prepare next free form name coming from 'Verification': Basic(currently Numbers is using BasicAuth) and will authorized single AuthManager with different alias from OAS files

…es names supported by HTTP. Genrator tool do not generate mapping details, so SinchClient is in charge to define them
Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Manifest Files

@JPPortier
Copy link
Contributor Author

Closing PR: will move to another pattern due to Verification API "Basic" support won't fit with current unified authentication mechanism
This refactoring do not have any utility in this context

@JPPortier JPPortier closed this Nov 21, 2023
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