1 package com
.owncloud
.android
.authenticator
.oauth2
;
4 * Class used to store data from the app registration in oAuth2 server.
5 * THIS VALUES ARE ORIENTATIVE.
6 * MUST BE CHANGED WITH THE CORRECT ONES.
8 * @author SolidGear S.L.
12 public class OAuth2Context
{
14 public static final String OAUTH2_DEVICE_CLIENT_ID
= "0000000000000.apps.googleusercontent.com";
15 public static final String OAUTH2_DEVICE_CLIENT_SECRET
= "XXXXXXXXXXXXXXXXXXXXXXXXX";
16 public static final String OAUTH_DEVICE_GETTOKEN_GRANT_TYPE
= "http://oauth.net/grant_type/device/1.0";
17 public static final String OAUTH2_DEVICE_GETCODE_URL
= "/o/oauth2/device/code";
18 public static final String OAUTH2_DEVICE_GETTOKEN_URL
= "/o/oauth2/token";
19 public static final String OAUTH2_DEVICE_GETCODE_SCOPES
= "https://www.googleapis.com/auth/userinfo.email";