<commit_before>package com.ciandt.techgallery.authorization;

import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.Arrays;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow;
import com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets;
import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;
import com.google.api.client.http.GenericUrl;
import com.google.api.client.http.HttpTransport;
import com.google.api.client.http.javanet.NetHttpTransport;
import com.google.api.client.json.JsonFactory;
import com.google.api.client.json.jackson2.JacksonFactory;
import com.google.appengine.api.datastore.Entity;


public class OAuthUtils {

  //Client secret must be stored as a resource and included in the build.
  //Can never be committed along with code
  //private static final String CLIENTSECRETS = "techgallerysecrets.json";
  private static final String CLIENTSECRETS = "techgallerysecretsTest.json";
  private static final String REDIRECT_URI = "/oauth2callback";
  private static final List<String> SCOPES = Arrays.asList(
      "https://www.googleapis.com/auth/plus.me",<commit_msg>TECG-87 - Store user's picture<commit_after>package com.ciandt.techgallery.authorization;

import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.Arrays;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow;
import com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets;
import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;
import com.google.api.client.http.GenericUrl;
import com.google.api.client.http.HttpTransport;
import com.google.api.client.http.javanet.NetHttpTransport;
import com.google.api.client.json.JsonFactory;
import com.google.api.client.json.jackson2.JacksonFactory;
import com.google.appengine.api.datastore.Entity;


public class OAuthUtils {

  //Client secret must be stored as a resource and included in the build.
  //Can never be committed along with code
  private static final String CLIENTSECRETS = "techgallerysecrets.json";//"edu-tech-gallery-secret.json";
  private static final String REDIRECT_URI = "/oauth2callback";
  private static final List<String> SCOPES = Arrays.asList(
      "https://www.googleapis.com/auth/plus.me",
{'fraction_non_alphanumeric': 0.10414153598713309, 'fraction_numerical': 0.0048250904704463205, 'mean_word_length': 5.428940568475452, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4740604', 'n_tokens_mistral': 779, 'n_tokens_neox': 751, 'n_words': 156}