Class GoogleOAuth2ServiceProvider
- java.lang.Object
-
- org.nuxeo.ecm.platform.oauth2.providers.NuxeoOAuth2ServiceProvider
-
- org.nuxeo.ecm.platform.oauth2.providers.AbstractOAuth2UserEmailProvider
-
- org.nuxeo.ecm.liveconnect.core.AbstractLiveConnectOAuth2ServiceProvider
-
- org.nuxeo.ecm.liveconnect.google.drive.GoogleOAuth2ServiceProvider
-
- All Implemented Interfaces:
OAuth2ServiceProvider
public class GoogleOAuth2ServiceProvider extends AbstractLiveConnectOAuth2ServiceProvider
- Since:
- 7.3
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.platform.oauth2.providers.NuxeoOAuth2ServiceProvider
CODE_URL_PARAMETER, description, ERROR_URL_PARAMETER, HTTP_TRANSPORT, id, JSON_FACTORY, SCHEMA, serviceName, serviceUserStore, tokenStore, userAuthorizationURL
-
-
Constructor Summary
Constructors Constructor Description GoogleOAuth2ServiceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getUserEmail(String accessToken)
-
Methods inherited from class org.nuxeo.ecm.liveconnect.core.AbstractLiveConnectOAuth2ServiceProvider
getServiceUser
-
Methods inherited from class org.nuxeo.ecm.platform.oauth2.providers.AbstractOAuth2UserEmailProvider
getOrCreateServiceUser, getServiceUserId
-
Methods inherited from class org.nuxeo.ecm.platform.oauth2.providers.NuxeoOAuth2ServiceProvider
getAuthorizationCode, getAuthorizationCodeFlow, getAuthorizationServerURL, getAuthorizationUrl, getAuthorizationUrl, getCallbackUrl, getCallbackUrl, getClientId, getClientSecret, getCredentialDataStore, getDescription, getError, getId, getScopes, getServiceName, getServiceUserStore, getTokenServerURL, getUserAuthorizationURL, handleAuthorizationCallback, isEnabled, isProviderAvailable, loadCredential, setAuthorizationServerURL, setClientId, setClientSecret, setDescription, setEnabled, setId, setScopes, setServiceName, setTokenServerURL, setUserAuthorizationURL
-
-
-
-
Constructor Detail
-
GoogleOAuth2ServiceProvider
public GoogleOAuth2ServiceProvider()
-
-
Method Detail
-
getUserEmail
protected String getUserEmail(String accessToken) throws IOException
- Specified by:
getUserEmail
in classAbstractOAuth2UserEmailProvider
- Throws:
IOException
-
-