Package org.springframework.social.google.api

Examples of org.springframework.social.google.api.Google


        new GoogleAdapter());
  }

  @Override
  protected String extractProviderUserId(AccessGrant accessGrant) {
    Google api = ((GoogleServiceProvider)getServiceProvider()).getApi(accessGrant.getAccessToken());
      UserProfile userProfile = getApiAdapter().fetchUserProfile(api);
      return userProfile.getUsername();
  }
View Full Code Here

TOP

Related Classes of org.springframework.social.google.api.Google

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.