Platform Explorer / Nuxeo Platform 9.2

Contribution org.nuxeo.ecm.liveconnect.google.drive.core.GoogleDriveComponent--providers

This contribution is part of XML component org.nuxeo.ecm.liveconnect.google.drive.core.GoogleDriveComponent inside nuxeo-liveconnect-google-drive-core-9.2.jar /OSGI-INF/googledrive-config.xml

Extension Point

Extension point providers of component OAuth2ServiceProviderRegistry.

Contributed Items

  • <provider>
          <name>googledrive</name>
          <description>Google Drive</description>
          <class>org.nuxeo.ecm.liveconnect.google.drive.GoogleOAuth2ServiceProvider</class>
          <tokenServerURL>https://accounts.google.com/o/oauth2/token</tokenServerURL>
          <authorizationServerURL>https://accounts.google.com/o/oauth2/auth?access_type=offline&amp;approval_prompt=force</authorizationServerURL>
          <scope>https://www.googleapis.com/auth/drive</scope>
          <scope>https://www.googleapis.com/auth/drive.apps.readonly</scope>
          <scope>email</scope>
          <clientId/>
        </provider>

    Google Drive

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.oauth2.providers.OAuth2ServiceProviderRegistry">
    <provider>
      <name>googledrive</name>
      <description>Google Drive</description>
      <class>org.nuxeo.ecm.liveconnect.google.drive.GoogleOAuth2ServiceProvider</class>
      <tokenServerURL>https://accounts.google.com/o/oauth2/token</tokenServerURL>
      <authorizationServerURL>https://accounts.google.com/o/oauth2/auth?access_type=offline&amp;approval_prompt=force</authorizationServerURL>
      <scope>https://www.googleapis.com/auth/drive</scope>
      <scope>https://www.googleapis.com/auth/drive.apps.readonly</scope>
      <scope>email</scope>
      <clientId/>
    </provider>
  </extension>