gitlab-org--gitlab-foss/spec
Nick Thomas 10c072263b Enable Warden for the Grape API
The practical effect of this commit is to make the API check the Rails session
cookie for authentication details. If the cookie is present and valid, it will
be used to authenticate.

The API now has several authentication options for users. They follow in this
order of precedence:

* Authentication token
* Personal access token
* OAuth2 Bearer token (Doorkeeper - application access)
* Rails session cookie
2016-09-19 12:27:37 +01:00
..
config
controllers
factories Add test with inactive error use case for 'POST /ci/api/v1/builds/register.json' 2016-09-13 17:44:20 +02:00
features Merge branch 'issue_21824' into 'master' 2016-09-16 09:27:39 +00:00
finders
fixtures
helpers Syntax fixes and better tests for helper methods. Updated docs. 2016-09-15 14:10:49 -05:00
initializers
javascripts
lib fix 2016-09-15 21:59:59 -05:00
mailers
models Syntax fixes and better tests for helper methods. Updated docs. 2016-09-15 14:10:49 -05:00
policies
requests Enable Warden for the Grape API 2016-09-19 12:27:37 +01:00
routing
services Move pushes_since_gc to Redis 2016-09-13 22:27:51 +02:00
support Fixed tests 2016-09-15 18:20:36 -04:00
tasks/gitlab
uploaders
views Fix spec failures 2016-09-14 17:33:07 +02:00
workers
factories_spec.rb
rails_helper.rb
simplecov_env.rb
spec_helper.rb
teaspoon_env.rb