1 | /* config_host/config_oauth2.h. Generated from config_oauth2.h.in by configure. */ |
2 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
3 | /* |
4 | * This file is part of the LibreOffice project. |
5 | * |
6 | * This Source Code Form is subject to the terms of the Mozilla Public |
7 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
8 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
9 | * |
10 | * This file incorporates work covered by the following license notice: |
11 | * |
12 | */ |
13 | |
14 | #ifndef CONFIG_OAUTH2_H |
15 | #define CONFIG_OAUTH2_H |
16 | |
17 | |
18 | /* Google Drive settings */ |
19 | #define GDRIVE_BASE_URL "https://www.googleapis.com/drive/v2" |
20 | #define GDRIVE_CLIENT_ID "" |
21 | #define GDRIVE_CLIENT_SECRET "" |
22 | #define GDRIVE_AUTH_URL "https://accounts.google.com/o/oauth2/auth" |
23 | #define GDRIVE_TOKEN_URL "https://accounts.google.com/o/oauth2/token" |
24 | #define GDRIVE_REDIRECT_URI "urn:ietf:wg:oauth:2.0:oob" |
25 | #define GDRIVE_SCOPE "https://www.googleapis.com/auth/drive" |
26 | |
27 | |
28 | /* Alfresco Cloud */ |
29 | #define ALFRESCO_CLOUD_BASE_URL "https://api.alfresco.com/" |
30 | #define ALFRESCO_CLOUD_CLIENT_ID "" |
31 | #define ALFRESCO_CLOUD_CLIENT_SECRET "" |
32 | #define ALFRESCO_CLOUD_AUTH_URL "https://api.alfresco.com/auth/oauth/versions/2/authorize" |
33 | #define ALFRESCO_CLOUD_TOKEN_URL "https://api.alfresco.com/auth/oauth/versions/2/token" |
34 | #define ALFRESCO_CLOUD_REDIRECT_URI "http://127.0.0.1/Callback" |
35 | #define ALFRESCO_CLOUD_SCOPE "public_api" |
36 | |
37 | #endif |
38 | |
39 | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |
40 | |