Package org.springframework.social.google.api.impl

Examples of org.springframework.social.google.api.impl.GoogleTemplate


    dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
  }
 
  @Before
  public void setup() {
    google = new GoogleTemplate("ACCESS_TOKEN");
    mockServer = MockRestServiceServer.createServer(google.getRestTemplate());
    appAuthGoogle = new GoogleTemplate("APP_ACCESS_TOKEN");
    appAuthMockServer = MockRestServiceServer.createServer(appAuthGoogle.getRestTemplate());
  }
View Full Code Here


    super(new GoogleOAuth2Template(clientId, clientSecret));
  }

  @Override
  public Google getApi(String accessToken) {
    return new GoogleTemplate(accessToken);
  }
View Full Code Here

TOP

Related Classes of org.springframework.social.google.api.impl.GoogleTemplate

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.