()
| 14 | module.exports = (GitHubHandler = (function () { |
| 15 | GitHubHandler = class GitHubHandler extends CocoClass { |
| 16 | static initClass () { |
| 17 | this.prototype.scopes = 'user:email' |
| 18 | |
| 19 | this.prototype.subscriptions = |
| 20 | { 'auth:log-in-with-github': 'commenceGitHubLogin' } |
| 21 | } |
| 22 | |
| 23 | constructor (application) { |
| 24 | if (!me.useSocialSignOn()) { throw new Error('Social single sign on not supported') } |