Update git submodules
[LibreOffice.git] / config_host / config_oauth2.h.in
blob9945dda3dda557f517859610ad36551d2f636a43
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
13 #ifndef CONFIG_OAUTH2_H
14 #define CONFIG_OAUTH2_H
17 /* Google Drive settings */
18 #define GDRIVE_BASE_URL "https://www.googleapis.com/drive/v3"
19 #define GDRIVE_CLIENT_ID ""
20 #define GDRIVE_CLIENT_SECRET ""
21 #define GDRIVE_AUTH_URL "https://accounts.google.com/o/oauth2/v2/auth"
22 #define GDRIVE_TOKEN_URL "https://oauth2.googleapis.com/token"
23 #define GDRIVE_REDIRECT_URI "urn:ietf:wg:oauth:2.0:oob"
24 #define GDRIVE_SCOPE "https://www.googleapis.com/auth/drive.file"
27 /* Alfresco Cloud */
28 #define ALFRESCO_CLOUD_BASE_URL "https://api.alfresco.com/"
29 #define ALFRESCO_CLOUD_CLIENT_ID ""
30 #define ALFRESCO_CLOUD_CLIENT_SECRET ""
31 #define ALFRESCO_CLOUD_AUTH_URL "https://api.alfresco.com/auth/oauth/versions/2/authorize"
32 #define ALFRESCO_CLOUD_TOKEN_URL "https://api.alfresco.com/auth/oauth/versions/2/token"
33 #define ALFRESCO_CLOUD_REDIRECT_URI "http://127.0.0.1/Callback"
34 #define ALFRESCO_CLOUD_SCOPE "public_api"
37 /* OneDrive */
38 #define ONEDRIVE_BASE_URL "https://graph.microsoft.com/v1.0"
39 #define ONEDRIVE_CLIENT_ID ""
40 #define ONEDRIVE_CLIENT_SECRET ""
41 #define ONEDRIVE_AUTH_URL "https://login.microsoftonline.com/common/oauth2/v2.0/authorize"
42 #define ONEDRIVE_TOKEN_URL "https://login.microsoftonline.com/common/oauth2/v2.0/token"
43 #define ONEDRIVE_REDIRECT_URI "http://localhost/LibreOffice"
44 #define ONEDRIVE_SCOPE "Files.ReadWrite offline_access"
46 #endif
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */