03189fe281d2fff291c0f559389e578e67ecab88
[pub/Android/ownCloud.git] / src / com / owncloud / android / authenticator / oauth2 / OAuth2Context.java
1 package com.owncloud.android.authenticator.oauth2;
2
3 /**
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.
7 *
8 * @author SolidGear S.L.
9 *
10 */
11
12 public class OAuth2Context {
13
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";
20 }