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

Added the token api_auth type #84

Closed
wants to merge 2 commits into from
Closed

Conversation

Jack12816
Copy link
Contributor

Hey guys, first things first: thanks for this great gem!

It would be quite useful to have a new token authentication type,
which follows the Rails convention. So the Authorization header
looks like this:

Authorization: Token token="WCZZYjnOQFUYfJIN2ShH1iD24UHo58A6TI"

This PR allows the usage of this authentication.

Signed-off-by: Hermann Mayer <hermann.mayer92@gmail.com>
@dblock
Copy link
Member

dblock commented Sep 21, 2017

Needs tests and CHANGELOG please.

@Jack12816
Copy link
Contributor Author

on my way :)

Signed-off-by: Hermann Mayer <hermann.mayer92@gmail.com>
@dblock
Copy link
Member

dblock commented Aug 4, 2018

What about tests. There're actually working tests for these scenarios in https://github.com/ruby-grape/grape-swagger-rails/blob/master/spec/features/swagger_spec.rb#L84. Thanks!

@Jack12816
Copy link
Contributor Author

I close this PR due to the long delay of my side and due to the fact that my organization has now a bunch of apps which use my fork/master version which would break on all sides when I squash the commits. Follow up: #86

@Jack12816 Jack12816 closed this Oct 26, 2018
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.

3 participants