1. 26 Nov, 2018 1 commit
  2. 29 Jun, 2018 2 commits
  3. 30 Apr, 2018 1 commit
    • Bob Van Landuyt's avatar
      Define custom base controller for Doorkeeper · 0f593b1c
      Bob Van Landuyt authored
      Since we only need the `can?` view helpers there, it's better to
      include those in a separate controller.
      
      If we inherit from `ApplicationController` we also need to deal with
      authentication, that needs to be done in some, but not all doorkeeper controllers.
      0f593b1c
  4. 28 Feb, 2018 1 commit
  5. 18 Sep, 2017 1 commit
  6. 27 Jul, 2017 1 commit
  7. 07 Jul, 2017 1 commit
  8. 07 Mar, 2017 2 commits
  9. 06 Mar, 2017 2 commits
  10. 16 Dec, 2016 1 commit
    • Timothy Andrew's avatar
      Calls to the API are checked for scope. · 7fa06ed5
      Timothy Andrew authored
      - Move the `Oauth2::AccessTokenValidationService` class to
        `AccessTokenValidationService`, since it is now being used for
        personal access token validation as well.
      
      - Each API endpoint declares the scopes it accepts (if any). Currently,
        the top level API module declares the `api` scope, and the `Users` API
        module declares the `read_user` scope (for GET requests).
      
      - Move the `find_user_by_private_token` from the API `Helpers` module to
        the `APIGuard` module, to avoid littering `Helpers` with more
        auth-related methods to support `find_user_by_private_token`
      7fa06ed5
  11. 18 Aug, 2016 3 commits
  12. 16 Jun, 2016 2 commits
  13. 10 Jun, 2016 1 commit
    • Jacob Vosmaer's avatar
      Improve Gitlab::Auth method names · 0e896ffe
      Jacob Vosmaer authored
      Auth.find was a very generic name for a very specific method.
      Auth.find_in_gitlab_or_ldap was inaccurate in GitLab EE where it also
      looks in Kerberos.
      0e896ffe
  14. 03 Jun, 2016 2 commits
  15. 02 Jun, 2016 1 commit
  16. 31 May, 2016 1 commit
  17. 30 May, 2016 1 commit
  18. 29 Apr, 2016 1 commit
  19. 31 Aug, 2015 1 commit
  20. 18 Jul, 2015 1 commit
  21. 17 Apr, 2015 1 commit
  22. 05 Feb, 2015 1 commit
  23. 03 Feb, 2015 1 commit
  24. 23 Jan, 2015 1 commit
  25. 17 Jan, 2015 1 commit
  26. 13 Jan, 2015 1 commit
  27. 24 Dec, 2014 1 commit