-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[Java] Add support for Bearer Auth #1930
Merged
Merged
Commits on Jan 24, 2019
-
fix OpenAPITools#457 by introducing an HttpBearerAuth object
See OpenAPITools#457 Also OpenAPITools#1446 for typescript, OpenAPITools#1577 for python Specs defined as follows currently generate BasicAuth and send an "Authorization: Basic [base64Encode(username + ":" + password)]" header components: securitySchemes: bearer: type: http scheme: bearer This change will generate code which uses a new HttpBearerAuth class, which will send a "Authorization: [scheme] [accessToken]" header. This change is slightly larger and more impactful than simply using OAuth for bearerBearer, but it allows for scheme values other than bearer. This fix was enabled by the recent commit of OpenAPITools@80ca67c This PR is an alternative to OpenAPITools#1972
Configuration menu - View commit details
-
Copy full SHA for d3c0afc - Browse repository at this point
Copy the full SHA d3c0afcView commit details
Commits on Jan 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d1f356d - Browse repository at this point
Copy the full SHA d1f356dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dc9f5c - Browse repository at this point
Copy the full SHA 2dc9f5cView commit details
Commits on Jan 31, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3e21e06 - Browse repository at this point
Copy the full SHA 3e21e06View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfdd07d - Browse repository at this point
Copy the full SHA dfdd07dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17e0c37 - Browse repository at this point
Copy the full SHA 17e0c37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c55b4b - Browse repository at this point
Copy the full SHA 8c55b4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb46ef2 - Browse repository at this point
Copy the full SHA fb46ef2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 485a738 - Browse repository at this point
Copy the full SHA 485a738View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53566cb - Browse repository at this point
Copy the full SHA 53566cbView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.