Commit Graph

13 Commits

Author SHA1 Message Date
Mathias Meyer
0cd89de38a Merge branch 'master' into rkh-metrics
Conflicts:
	Gemfile.lock
2013-05-09 13:37:28 +02:00
Piotr Sarnacki
d276cd5b32 Return Oauth headers even if none scope was matched
If an endpoint specifies more than one scope and none of the scopes from
access token matches, return oauth headers for the first of the scopes
2013-05-08 14:11:03 +02:00
Piotr Sarnacki
3b299cfec7 Allow to pass required_params to token
required_params will be matched with actual params to check if the token
may be used for authorization. For example if { job_id: 44 } is passed
as a required param, the token will be rejected for GET /jobs/33
2013-05-08 14:11:03 +02:00
Piotr Sarnacki
ee64af14d5 Allow to specify more than one scope for an endpoint 2013-05-08 14:11:02 +02:00
Konstantin Haase
07c5f6b61f add extension that keeps track of route pattern 2013-01-23 15:22:06 +01:00
Konstantin Haase
01fe983a0c pass if scope does not match 2013-01-13 20:08:56 +01:00
Konstantin Haase
6252deadee improve caching headers 2012-10-17 18:51:11 +02:00
Konstantin Haase
ff4dd4d61b remove empty extension 2012-09-28 16:59:24 +02:00
Konstantin Haase
e99c5c2d4f move helpers around 2012-09-28 16:54:29 +02:00
Konstantin Haase
603c32b097 set vary header and cache documentation 2012-09-25 17:52:52 +02:00
Konstantin Haase
8eb7aa11ce better errors on missing token or not matching scope 2012-08-15 02:31:30 +02:00
Konstantin Haase
f05ea7198b fully implement access tokens 2012-08-15 00:52:22 +02:00
Konstantin Haase
7baf61054c rewrite all the things 2012-07-27 15:55:57 +02:00