()
| 70 | import BaseCodeAuthAdapter from './BaseCodeAuthAdapter'; |
| 71 | class GitHubAdapter extends BaseCodeAuthAdapter { |
| 72 | constructor() { |
| 73 | super('GitHub'); |
| 74 | } |
| 75 | async getAccessTokenFromCode(authData) { |
| 76 | const tokenUrl = 'https://github.com/login/oauth/access_token'; |
| 77 | const response = await fetch(tokenUrl, { |
nothing calls this directly
no outgoing calls
no test coverage detected