public class GoogleDriveConnector
extends org.exoplatform.services.cms.clouddrives.CloudDriveConnector
config, CONFIG_CONNECTOR_HOST, CONFIG_CONNECTOR_SCHEMA, CONFIG_DISABLE, CONFIG_LOGIN_SSO, CONFIG_PREDEFINED_SERVICES, CONFIG_PROVIDER_CLIENT_ID, CONFIG_PROVIDER_CLIENT_SECRET, CONFIG_PROVIDER_ID, CONFIG_PROVIDER_NAME, connectorHost, connectorSchema, jcrFinder, jcrService, LOG, loginSSO, mimeTypes, OAUTH2_CODE, OAUTH2_ERROR, OAUTH2_ERROR_DESCRIPTION, OAUTH2_SERVER_URL, OAUTH2_STATE, predefinedServices, provider, PROVIDER_REQUEST_ATTEMPT_TIMEOUT, PROVIDER_REQUEST_ATTEMPTS, sessionProviders| Constructor and Description |
|---|
GoogleDriveConnector(org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders,
org.exoplatform.services.cms.clouddrives.jcr.NodeFinder finder,
org.exoplatform.services.cms.clouddrives.utils.ExtendedMimeTypeResolver mimeTypes,
org.exoplatform.container.xml.InitParams params)
GoogleDrive connector plugin constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GoogleUser |
authenticate(Map<String,String> params) |
protected JCRLocalGoogleDrive |
createDrive(org.exoplatform.services.cms.clouddrives.CloudUser user,
javax.jcr.Node driveNode) |
protected org.exoplatform.services.cms.clouddrives.CloudProvider |
createProvider() |
protected GoogleProvider |
getProvider() |
protected org.exoplatform.services.cms.clouddrives.CloudDrive |
loadDrive(javax.jcr.Node driveNode) |
currentUser, getClientId, getClientSecret, getConnectorHost, getConnectorSchema, getProviderId, getProviderName, isDisabled, redirectLink, sessionProviderpublic GoogleDriveConnector(org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders,
org.exoplatform.services.cms.clouddrives.jcr.NodeFinder finder,
org.exoplatform.services.cms.clouddrives.utils.ExtendedMimeTypeResolver mimeTypes,
org.exoplatform.container.xml.InitParams params)
throws org.exoplatform.services.cms.clouddrives.ConfigurationException
jcrService - the jcr servicesessionProviders - the session providersfinder - the findermimeTypes - the mime typesparams - the paramsorg.exoplatform.services.cms.clouddrives.ConfigurationException - the configuration exceptionprotected org.exoplatform.services.cms.clouddrives.CloudProvider createProvider()
createProvider in class org.exoplatform.services.cms.clouddrives.CloudDriveConnectorprotected GoogleProvider getProvider()
getProvider in class org.exoplatform.services.cms.clouddrives.CloudDriveConnectorpublic GoogleUser authenticate(Map<String,String> params) throws org.exoplatform.services.cms.clouddrives.CloudDriveException
authenticate in class org.exoplatform.services.cms.clouddrives.CloudDriveConnectororg.exoplatform.services.cms.clouddrives.CloudDriveExceptionprotected JCRLocalGoogleDrive createDrive(org.exoplatform.services.cms.clouddrives.CloudUser user, javax.jcr.Node driveNode) throws org.exoplatform.services.cms.clouddrives.CloudDriveException, javax.jcr.RepositoryException
createDrive in class org.exoplatform.services.cms.clouddrives.CloudDriveConnectororg.exoplatform.services.cms.clouddrives.CloudDriveExceptionjavax.jcr.RepositoryExceptionprotected org.exoplatform.services.cms.clouddrives.CloudDrive loadDrive(javax.jcr.Node driveNode)
throws org.exoplatform.services.cms.clouddrives.CloudDriveException,
javax.jcr.RepositoryException
loadDrive in class org.exoplatform.services.cms.clouddrives.CloudDriveConnectororg.exoplatform.services.cms.clouddrives.CloudDriveExceptionjavax.jcr.RepositoryExceptionCopyright © 2003–2021 eXo Platform SAS. All rights reserved.