Package org.nuxeo.ecm.liveconnect.box
Class BoxOAuth2ServiceProvider
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.box.BoxOAuth2ServiceProvider
- All Implemented Interfaces:
OAuth2ServiceProvider
- Since:
- 8.1
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.api.client.http.HttpRequestFactory
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 Details
-
BoxOAuth2ServiceProvider
public BoxOAuth2ServiceProvider()
-
-
Method Details
-
getUserEmail
- Specified by:
getUserEmail
in classAbstractOAuth2UserEmailProvider
- Throws:
IOException
-
getRequestFactory
protected com.google.api.client.http.HttpRequestFactory getRequestFactory()
-