Class OneDriveProvider

java.lang.Object
org.exoplatform.services.cms.clouddrives.CloudProvider
org.exoplatform.services.cms.clouddrives.onedrive.OneDriveProvider

public class OneDriveProvider extends org.exoplatform.services.cms.clouddrives.CloudProvider
The Class OneDriveProvider.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.exoplatform.services.log.Log
     

    Fields inherited from class org.exoplatform.services.cms.clouddrives.CloudProvider

    AUTH_NOSTATE, CONNECT_URL_BASE, hashCode, id, name
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    OneDriveProvider(String id, String name, String authUrl, String redirectUrl)
    Instantiates a new cloud provider.
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    boolean
     

    Methods inherited from class org.exoplatform.services.cms.clouddrives.CloudProvider

    equals, getErrorMessage, getErrorMessage, getId, getName, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • LOG

      protected static final org.exoplatform.services.log.Log LOG
  • Constructor Details

    • OneDriveProvider

      protected OneDriveProvider(String id, String name, String authUrl, String redirectUrl)
      Instantiates a new cloud provider.
      Parameters:
      id - the id
      name - the name
  • Method Details

    • getAuthURL

      public String getAuthURL() throws org.exoplatform.services.cms.clouddrives.CloudDriveException
      Specified by:
      getAuthURL in class org.exoplatform.services.cms.clouddrives.CloudProvider
      Throws:
      org.exoplatform.services.cms.clouddrives.CloudDriveException
    • getRedirectUrl

      public String getRedirectUrl()
    • retryOnProviderError

      public boolean retryOnProviderError()
      Specified by:
      retryOnProviderError in class org.exoplatform.services.cms.clouddrives.CloudProvider