mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
24 lines
698 B
JavaScript
24 lines
698 B
JavaScript
Package.describe({
|
|
summary: "Google OAuth flow",
|
|
// internal for now. Should be external when it has a richer API to do
|
|
// actual API things with the service, not just handle the OAuth flow.
|
|
internal: true
|
|
});
|
|
|
|
Package.on_use(function(api) {
|
|
api.use('oauth2', ['client', 'server']);
|
|
api.use('oauth', ['client', 'server']);
|
|
api.use('http', ['server']);
|
|
api.use(['underscore', 'service-configuration'], ['client', 'server']);
|
|
api.use(['random', 'templating'], 'client');
|
|
|
|
api.export('Google');
|
|
|
|
api.add_files(
|
|
['google_configure.html', 'google_configure.js'],
|
|
'client');
|
|
|
|
api.add_files('google_server.js', 'server');
|
|
api.add_files('google_client.js', 'client');
|
|
});
|