Class GoogleTokenProvider

java.lang.Object
com.logicaldoc.google.GoogleTokenProvider
All Implemented Interfaces:
com.logicaldoc.core.communication.oauth.TokenProvider

public class GoogleTokenProvider extends Object implements com.logicaldoc.core.communication.oauth.TokenProvider
Specialized token provider that uses Google
Since:
9.2.1
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • GoogleTokenProvider

      public GoogleTokenProvider()
  • Method Details

    • getAccessToken

      public String getAccessToken(String clientSecret, String clientId, String clientTenant) throws IOException
      It considers the clientTenat as the Google configuration name
      Specified by:
      getAccessToken in interface com.logicaldoc.core.communication.oauth.TokenProvider
      Throws:
      IOException