Package com.logicaldoc.google
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAccessToken
(String clientSecret, String clientId, String clientTenant) It considers the clientTenat as the Google configuration name
-
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 interfacecom.logicaldoc.core.communication.oauth.TokenProvider
- Throws:
IOException
-