loopback/lib
Miroslav Bajtoš 3115e5055f Auto-configure models required by `app.enableAuth`
Modify `app.enableAuth` to automaticaly setup all required models
that are not attached to the app nor a datasource.

Users wishing to use this option must provide the name of the
data-source to use for these models.

Example usage:

    var app = loopback();
    app.dataSource('db', { connector: 'memory' });
    app.enableAuth({ dataSource: 'db' });

    app.use(loopback.rest());
    app.listen(3000);
2015-06-01 12:19:28 +02:00
..
connectors Enable jscs for `lib`, fix style violations 2014-11-04 08:25:33 +01:00
access-context.js AccessControl for change replication 2015-04-07 19:53:58 +02:00
application.js Auto-configure models required by `app.enableAuth` 2015-06-01 12:19:28 +02:00
browser-express.js Emit a 'modelRemoted' event by app.model() 2014-07-24 17:00:27 -07:00
builtin-models.js Merge branch 'master' of https://github.com/esco/loopback into esco-master 2015-05-29 16:44:18 -07:00
express-middleware.js Expose more loopback middleware for require 2014-11-19 11:32:22 -08:00
loopback.js Add loadBuiltinModels flag to loopback(options) 2015-06-01 12:19:28 +02:00
model.js Remove trailing whitespace added by 242bcec 2015-05-04 18:19:13 +02:00
persisted-model.js Merge pull request #1306 from strongloop/feature/allow-filter-on-findById 2015-04-16 15:12:50 -07:00
registry.js Define remote methods via model settings/config 2015-05-07 07:42:08 +02:00
runtime.js Enable jscs for `lib`, fix style violations 2014-11-04 08:25:33 +01:00
server-app.js un-document _findLayerByHandler 2015-05-04 12:23:21 -07:00