<?xml version="1.0"?>
<component name="org.nuxeo.ecm.liveconnect.google.drive.core.GoogleDriveComponent.override">

  <require>org.nuxeo.ecm.liveconnect.google.drive.core.GoogleDriveComponent</require>

  <documentation>

    Management of Google Drive configuration.
  

  </documentation>
  <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>

</component>
