Class GoogleServiceProvider

  • All Implemented Interfaces:
    org.springframework.social.oauth2.OAuth2ServiceProvider<Google>, org.springframework.social.ServiceProvider<Google>

    public class GoogleServiceProvider
    extends org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<Google>
    Google ServiceProvider implementation.
    Author:
    Gabriel Axel
    • Constructor Detail

      • GoogleServiceProvider

        public GoogleServiceProvider​(String clientId,
                                     String clientSecret)
    • Method Detail

      • getApi

        public Google getApi​(String accessToken)
        Specified by:
        getApi in interface org.springframework.social.oauth2.OAuth2ServiceProvider<Google>
        Specified by:
        getApi in class org.springframework.social.oauth2.AbstractOAuth2ServiceProvider<Google>