Package org.exoplatform.clouddrive.box
Class BoxProvider
- java.lang.Object
-
- org.exoplatform.services.cms.clouddrives.CloudProvider
-
- org.exoplatform.clouddrive.box.BoxProvider
-
public class BoxProvider extends org.exoplatform.services.cms.clouddrives.CloudProviderBox provider copies GoogleDrive's provider by the code because of OAuth2. Created by The eXo Platform SAS.- Version:
- $Id: BoxProvider.java 00000 Aug 30, 2013 pnedonosko $
- Author:
- Peter Nedonosko
-
-
Field Summary
Fields Modifier and Type Field Description protected StringauthURLThe auth URL.protected org.exoplatform.services.jcr.RepositoryServicejcrServiceThe jcr service.protected booleanloginSSOThe login SSO.protected StringredirectURLThe redirect URL.
-
Constructor Summary
Constructors Constructor Description BoxProvider(String id, String name, String authURL, String redirectURL, boolean loginSSO, org.exoplatform.services.jcr.RepositoryService jcrService)Instantiates a new box provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthURL()StringgetRedirectURL()Gets the redirect URL.booleanisLoginSSO()Checks if is login SSO.booleanretryOnProviderError()
-
-
-
Constructor Detail
-
BoxProvider
public BoxProvider(String id, String name, String authURL, String redirectURL, boolean loginSSO, org.exoplatform.services.jcr.RepositoryService jcrService)
Instantiates a new box provider.- Parameters:
id- the idname- the nameauthURL- the auth URLredirectURL- the redirect URLloginSSO- the login SSOjcrService- the jcr service
-
-
Method Detail
-
getAuthURL
public String getAuthURL() throws org.exoplatform.services.cms.clouddrives.CloudDriveException
- Specified by:
getAuthURLin classorg.exoplatform.services.cms.clouddrives.CloudProvider- Throws:
org.exoplatform.services.cms.clouddrives.CloudDriveException
-
getRedirectURL
public String getRedirectURL()
Gets the redirect URL.- Returns:
- the redirectURL
-
isLoginSSO
public boolean isLoginSSO()
Checks if is login SSO.- Returns:
- the loginSSO
-
retryOnProviderError
public boolean retryOnProviderError()
- Specified by:
retryOnProviderErrorin classorg.exoplatform.services.cms.clouddrives.CloudProvider
-
-