From 940b4d1848e8c70ab7642901a68594e8016caffc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 18:51:28 +0200 Subject: Adding upstream version 1:7.0.4. Signed-off-by: Daniel Baumann --- config_host/config_oauth2.h.in | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 config_host/config_oauth2.h.in (limited to 'config_host/config_oauth2.h.in') diff --git a/config_host/config_oauth2.h.in b/config_host/config_oauth2.h.in new file mode 100644 index 000000000..f3616ee38 --- /dev/null +++ b/config_host/config_oauth2.h.in @@ -0,0 +1,48 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + */ + +#ifndef CONFIG_OAUTH2_H +#define CONFIG_OAUTH2_H + + +/* Google Drive settings */ +#define GDRIVE_BASE_URL "https://www.googleapis.com/drive/v2" +#define GDRIVE_CLIENT_ID "" +#define GDRIVE_CLIENT_SECRET "" +#define GDRIVE_AUTH_URL "https://accounts.google.com/o/oauth2/auth" +#define GDRIVE_TOKEN_URL "https://accounts.google.com/o/oauth2/token" +#define GDRIVE_REDIRECT_URI "urn:ietf:wg:oauth:2.0:oob" +#define GDRIVE_SCOPE "https://www.googleapis.com/auth/drive" + + +/* Alfresco Cloud */ +#define ALFRESCO_CLOUD_BASE_URL "https://api.alfresco.com/" +#define ALFRESCO_CLOUD_CLIENT_ID "" +#define ALFRESCO_CLOUD_CLIENT_SECRET "" +#define ALFRESCO_CLOUD_AUTH_URL "https://api.alfresco.com/auth/oauth/versions/2/authorize" +#define ALFRESCO_CLOUD_TOKEN_URL "https://api.alfresco.com/auth/oauth/versions/2/token" +#define ALFRESCO_CLOUD_REDIRECT_URI "http://127.0.0.1/Callback" +#define ALFRESCO_CLOUD_SCOPE "public_api" + + +/* OneDrive */ +#define ONEDRIVE_BASE_URL "https://apis.live.net/v5.0" +#define ONEDRIVE_CLIENT_ID "" +#define ONEDRIVE_CLIENT_SECRET "" +#define ONEDRIVE_AUTH_URL "https://login.live.com/oauth20_authorize.srf" +#define ONEDRIVE_TOKEN_URL "https://login.live.com/oauth20_token.srf" +#define ONEDRIVE_REDIRECT_URI "https://login.live.com/oauth20_desktop.srf" +#define ONEDRIVE_SCOPE "wl.skydrive_update wl.offline_access" + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.2.3