{"size": 322, "ext": "js", "max_stars_repo_path": "backend/src/router/oauth.js", "max_stars_repo_name": "youngxpepp/IssueTracker-40", "max_stars_repo_stars_event_min_datetime": "2020-10-28T05:28:38.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-14T03:47:05.000Z", "max_issues_repo_path": "backend/src/router/oauth.js", "max_issues_repo_name": "youngxpepp/IssueTracker-40", "max_issues_repo_issues_event_min_datetime": "2020-10-27T11:32:08.000Z", "max_issues_repo_issues_event_max_datetime": "2020-11-13T01:31:10.000Z", "max_forks_repo_path": "backend/src/router/oauth.js", "max_forks_repo_name": "youngxpepp/IssueTracker-40", "max_forks_repo_forks_event_min_datetime": "2020-10-26T13:05:00.000Z", "max_forks_repo_forks_event_max_datetime": "2020-11-22T18:21:43.000Z"}
{"max_stars_count": 18, "max_issues_count": 88, "max_forks_count": 12, "avg_line_length": 29.2727272727, "max_line_length": 102, "alphanum_fraction": 0.7950310559}
import express from "express";
import { GithubAuthenticator } from "../common/lib/authenticator";

const router = express.Router();

router.get("/github", GithubAuthenticator.redirectToGithub);

router.get("/github/login", GithubAuthenticator.validateState, GithubAuthenticator.sendTokenToClient);

export default router;
