2013-07-14 16:59:51 -05:00
|
|
|
/* -*- 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:
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2013-11-07 06:15:26 -06:00
|
|
|
#ifndef CONFIG_OAUTH2_H
|
|
|
|
#define CONFIG_OAUTH2_H
|
2013-07-14 16:59:51 -05:00
|
|
|
|
|
|
|
|
2013-11-07 06:15:26 -06:00
|
|
|
/* Google Drive settings */
|
2013-07-14 16:59:51 -05:00
|
|
|
#define GDRIVE_BASE_URL "https://www.googleapis.com/drive/v2"
|
2013-11-07 06:15:26 -06:00
|
|
|
#define GDRIVE_CLIENT_ID ""
|
|
|
|
#define GDRIVE_CLIENT_SECRET ""
|
2013-07-14 16:59:51 -05:00
|
|
|
#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"
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|