loopback/test
Ryan Graham fbb091e3b3 Extend AccessToken to parse Basic auth headers
Allow convenient URLs for curl and browsers such as:
 - http://some-long-token@localhost:3000/
 - http://token:some-long-token@localhost:3000/

Basic Auth specifies a 'Basic' scheme for the Authorization header
similar to how OAuth specifies 'Bearer' as an auth scheme.

Following a similar convention, extract the access token from the
Authorization header when it specifies the 'Basic' scheme, assuming
it is the larger of the <user>:<pass> segments.
2015-01-15 22:53:09 -08:00
..
e2e fix jscs errors 2014-11-21 03:35:36 +01:00
fixtures Make sure scoped methods are remoted 2014-08-08 15:55:47 -07:00
util fix jscs errors 2014-11-21 03:35:36 +01:00
access-control.integration.js fix jscs errors 2014-11-21 03:35:36 +01:00
access-token.test.js Extend AccessToken to parse Basic auth headers 2015-01-15 22:53:09 -08:00
acl.test.js fix jscs errors 2014-11-21 03:35:36 +01:00
app.test.js server-app: make _sortLayersByPhase stable 2014-12-15 08:14:26 +01:00
change.test.js Fix Change.getCheckpointModel() giving new models each call 2014-12-27 23:48:56 +08:00
checkpoint.test.js Auto-load and register built-in `Checkpoint` model 2014-10-14 08:58:16 +02:00
data-source.test.js fix jscs errors 2014-11-21 03:35:36 +01:00
email.test.js fix jscs errors 2014-11-21 03:35:36 +01:00
geo-point.test.js Fix Geo test cases 2015-01-06 16:03:37 -08:00
hidden-properties.test.js fix jscs errors 2014-11-21 03:35:36 +01:00
integration.test.js Add test for request pausing during authentication 2014-03-18 08:43:24 +01:00
karma.conf.js test: run more tests in the browser 2014-10-14 08:58:17 +02:00
loopback.test.js Fix context middleware to preserve domains 2015-01-07 10:56:10 +01:00
memory.test.js fix jscs errors 2014-11-21 03:35:36 +01:00
model.application.test.js fix jscs errors 2014-11-21 03:35:36 +01:00
model.test.js fix jscs errors 2014-11-21 03:35:36 +01:00
relations.integration.js fix jscs warning 2015-01-04 18:24:29 +08:00
remote-connector.test.js fix jscs errors 2014-11-21 03:35:36 +01:00
remoting-coercion.test.js fix jscs errors 2014-11-21 03:35:36 +01:00
remoting.integration.js fix jscs errors 2014-11-21 03:35:36 +01:00
replication.test.js fix jscs errors 2014-11-21 03:35:36 +01:00
rest.middleware.test.js fix jscs errors 2014-11-21 03:35:36 +01:00
role.test.js fix jscs errors 2014-11-21 03:35:36 +01:00
support.js fix jscs errors 2014-11-21 03:35:36 +01:00
user.test.js Merge branch 'master' of https://github.com/greaterweb/loopback into greaterweb-master 2015-01-07 16:35:00 -08:00