public class GoogleProvider
extends org.exoplatform.clouddrive.CloudProvider
| Modifier and Type | Field and Description |
|---|---|
protected String |
authURL
The auth URL.
|
protected org.exoplatform.services.jcr.RepositoryService |
jcrService
The jcr service.
|
protected String |
redirectURL
The redirect URL.
|
| Constructor and Description |
|---|
GoogleProvider(String id,
String name,
String authURL,
String redirectURL,
org.exoplatform.services.jcr.RepositoryService jcrService)
Instantiates a new google provider.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthURL()
Gets the auth URL.
|
String |
getErrorMessage(String error,
String errorDescription) |
String |
getRedirectURL()
Gets the redirect URL.
|
boolean |
retryOnProviderError() |
protected final String authURL
protected final String redirectURL
protected final org.exoplatform.services.jcr.RepositoryService jcrService
public GoogleProvider(String id, String name, String authURL, String redirectURL, org.exoplatform.services.jcr.RepositoryService jcrService)
id - the idname - the nameauthURL - the auth URLredirectURL - the redirect URLjcrService - the jcr servicepublic String getAuthURL() throws org.exoplatform.clouddrive.CloudDriveException
getAuthURL in class org.exoplatform.clouddrive.CloudProviderorg.exoplatform.clouddrive.CloudDriveException - the cloud drive exceptionpublic String getErrorMessage(String error, String errorDescription)
getErrorMessage in class org.exoplatform.clouddrive.CloudProviderpublic String getRedirectURL()
public boolean retryOnProviderError()
retryOnProviderError in class org.exoplatform.clouddrive.CloudProviderCopyright © 2003–2019 eXo Platform SAS. All rights reserved.