-
Notifications
You must be signed in to change notification settings - Fork 58
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
Code refactoring #64
base: master
Are you sure you want to change the base?
Code refactoring #64
Commits on Aug 31, 2016
-
Configuration menu - View commit details
-
Copy full SHA for bc8324e - Browse repository at this point
Copy the full SHA bc8324eView commit details -
Do not run Doorkeper's authorization method if oauth2 scope is set to…
… 'false'. Particularily useful when using WineBouncer in the grape-swagger for hiding certain endpoints for different kind of users. In this case oauth2 'false' is set on the GET swagger_doc endpoint making the doorkeeper_access_token available further in the process of building API endpoints.
Configuration menu - View commit details
-
Copy full SHA for 3074ad2 - Browse repository at this point
Copy the full SHA 3074ad2View commit details -
Updated Travis matrix to test with Grape 0.17.0 version instead of 0.…
…16.2 Updated Grape, Rails and Doorkeeper default versions in the Gemfile.
Configuration menu - View commit details
-
Copy full SHA for a7c6ee1 - Browse repository at this point
Copy the full SHA a7c6ee1View commit details
Commits on Sep 30, 2016
-
Made resourse_owner available in the endpoint and passed to Doorkeepe…
…r's admin authenticator instead of the token. Greatly simplified :swagger AuthStrategy methods.
Configuration menu - View commit details
-
Copy full SHA for f7b694c - Browse repository at this point
Copy the full SHA f7b694cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 647c89e - Browse repository at this point
Copy the full SHA 647c89eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6a0964 - Browse repository at this point
Copy the full SHA c6a0964View commit details -
Removed obsolete methods and enriched some checks of auth and scope k…
…eys. Restricted to Grape 0.16 minimum since the new router and syntax.
Configuration menu - View commit details
-
Copy full SHA for 6c4b523 - Browse repository at this point
Copy the full SHA 6c4b523View commit details -
Travis didn't found Grape 0.16, so - 0.16.2 will be minimal version.
Also updated in README.md minimal version of Doorkeeper to tested 3.1.0.
Configuration menu - View commit details
-
Copy full SHA for 987c02f - Browse repository at this point
Copy the full SHA 987c02fView commit details
Commits on Oct 3, 2016
-
Let Doorkeeper handle token authorization and auth error handling - i…
…t's not this gem's responsibility, no need to override and new exception classes. Removed more obsolete auth_methods.
Configuration menu - View commit details
-
Copy full SHA for a9bf80d - Browse repository at this point
Copy the full SHA a9bf80dView commit details
Commits on Oct 5, 2016
-
Modularized AuthStrategies instead of them being instantiated as Classes. The configured auth_strategy is included now into the middleware on WineBouncer initialization, not on every request. DRYed the middleware.
Configuration menu - View commit details
-
Copy full SHA for 94c6f30 - Browse repository at this point
Copy the full SHA 94c6f30View commit details
Commits on Oct 6, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 7c1bde1 - Browse repository at this point
Copy the full SHA 7c1bde1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bd923d - Browse repository at this point
Copy the full SHA 6bd923dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b53c325 - Browse repository at this point
Copy the full SHA b53c325View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e28a3 - Browse repository at this point
Copy the full SHA 32e28a3View commit details -
Inject inline defied scopes into route' description's :security hash.
If auth_strategy is protected, inject Doorkeeper's default scopes into :security hash. Set :protected boolean on the route to make it fast available on requests' processing.
Configuration menu - View commit details
-
Copy full SHA for 6a511c4 - Browse repository at this point
Copy the full SHA 6a511c4View commit details
Commits on Oct 11, 2016
-
Set Doorkeeper default scopes if no scopes specified inline.
Mark endpoint as protected if 'false' scope present. On :protected auth_strategy and empty scopes, use Doorkeeper's default scopes.
Configuration menu - View commit details
-
Copy full SHA for 35dba09 - Browse repository at this point
Copy the full SHA 35dba09View commit details
Commits on Oct 17, 2016
-
Refactored auth_strategies to helpers ad scope fetching methods.
Auth strategies could now coexist - configured as an array. Made Rubocop happy. Swagger 2.0 strategy implemented (specs not written yet).
Configuration menu - View commit details
-
Copy full SHA for 9843ce7 - Browse repository at this point
Copy the full SHA 9843ce7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ecfe47 - Browse repository at this point
Copy the full SHA 9ecfe47View commit details
Commits on Oct 18, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 8fc2d2a - Browse repository at this point
Copy the full SHA 8fc2d2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13ca882 - Browse repository at this point
Copy the full SHA 13ca882View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb73913 - Browse repository at this point
Copy the full SHA fb73913View commit details