mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Update API calls for authentication due to depracation: https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/ https://developer.github.com/v3/auth/#basic-authentication
19 lines
470 B
JavaScript
19 lines
470 B
JavaScript
Package.describe({
|
|
summary: 'GitHub OAuth flow',
|
|
version: '1.2.3'
|
|
});
|
|
|
|
Package.onUse(api => {
|
|
api.use('ecmascript', ['client', 'server']);
|
|
api.use('oauth2', ['client', 'server']);
|
|
api.use('oauth', ['client', 'server']);
|
|
api.use('http', 'server');
|
|
api.use('random', 'client');
|
|
api.use('service-configuration', ['client', 'server']);
|
|
|
|
api.addFiles('github_client.js', 'client');
|
|
api.addFiles('github_server.js', 'server');
|
|
|
|
api.export('Github');
|
|
});
|