mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
33 lines
557 B
JavaScript
33 lines
557 B
JavaScript
Package.describe({
|
|
summary: "Common code for OAuth2-based login services",
|
|
version: '1.3.3',
|
|
});
|
|
|
|
Package.onUse(api => {
|
|
api.use([
|
|
'random'
|
|
], 'server');
|
|
|
|
api.use([
|
|
'oauth',
|
|
'service-configuration',
|
|
'ecmascript',
|
|
], ['client', 'server']);
|
|
|
|
api.addFiles('oauth2_server.js', 'server');
|
|
});
|
|
|
|
Package.onTest(function (api) {
|
|
api.use([
|
|
'tinytest',
|
|
'random',
|
|
'oauth2',
|
|
'oauth',
|
|
'service-configuration',
|
|
'oauth-encryption',
|
|
'ecmascript',
|
|
], 'server');
|
|
|
|
api.addFiles("oauth2_tests.js", 'server');
|
|
});
|