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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetAccessToken(String clientSecret, String clientId, String clientTenant) It considers the clientTenat as the Google configuration name
- 
Constructor Details- 
GoogleTokenProviderpublic GoogleTokenProvider()
 
- 
- 
Method Details- 
getAccessTokenpublic String getAccessToken(String clientSecret, String clientId, String clientTenant) throws IOException It considers the clientTenat as the Google configuration name- Specified by:
- getAccessTokenin interface- com.logicaldoc.core.communication.oauth.TokenProvider
- Throws:
- IOException
 
 
-