Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / config_host / config_oauth2.h.in
blobf3616ee38162de7e407691304a8e7d7a5a545adb
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/v2"
19 #define GDRIVE_CLIENT_ID ""
20 #define GDRIVE_CLIENT_SECRET ""
21 #define GDRIVE_AUTH_URL "https://accounts.google.com/o/oauth2/auth"
22 #define GDRIVE_TOKEN_URL "https://accounts.google.com/o/oauth2/token"
23 #define GDRIVE_REDIRECT_URI "urn:ietf:wg:oauth:2.0:oob"
24 #define GDRIVE_SCOPE "https://www.googleapis.com/auth/drive"
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://apis.live.net/v5.0"
39 #define ONEDRIVE_CLIENT_ID ""
40 #define ONEDRIVE_CLIENT_SECRET ""
41 #define ONEDRIVE_AUTH_URL "https://login.live.com/oauth20_authorize.srf"
42 #define ONEDRIVE_TOKEN_URL "https://login.live.com/oauth20_token.srf"
43 #define ONEDRIVE_REDIRECT_URI "https://login.live.com/oauth20_desktop.srf"
44 #define ONEDRIVE_SCOPE "wl.skydrive_update wl.offline_access"
46 #endif
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */