public Authorization GetAuthorization(string username, string password) { if (authorization == null) { authService = new AuthorizationService(username, password); authorization = authService.CreateAuthorization("testGHTestSuite", scopes: new[] {"user", "repo"}); } return authorization; }
private static Authorization CreateSprintStatAuthorization(AuthorizationService authService) { Authorization auth = authService.CreateAuthorization(note: GithubAuthNote, scopes: new[] {"repo", "public_repo", "repo:status"}); return auth; }