Package org.waveprotocol.box.waveimport.google.oauth

Examples of org.waveprotocol.box.waveimport.google.oauth.UserContext


  /*
   * Export waves to files
   */
  public void exportWavesToFiles() {
    HttpClient httpClient = new HttpClient();
    UserContext context = new UserContext();
    context.setParticipantId(new ParticipantId(participantId));
    OAuthCredentials cred = new OAuthCredentials(refreshToken, accessToken);
    context.setOAuthCredentials(cred);
    OAuthRequestHelper helper = new OAuthRequestHelper(clientId, clientSecret, context);
    OAuthedFetchService oauthService = new OAuthedFetchService(httpClient, helper);
    RobotApi api = new RobotApi(oauthService, WAVE_RPC);
    try {
      List<String> waves = includeList;
View Full Code Here

TOP

Related Classes of org.waveprotocol.box.waveimport.google.oauth.UserContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.