This repository was archived by the owner on Mar 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/accounts Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,8 @@ public static class Constants {
292
292
/**
293
293
* Flag signaling if the ownCloud server can be accessed with OAuth2 access tokens.
294
294
*/
295
+
296
+ // TODO Please review this constants, move them out of the library, the rest of OAuth variables are in data layer
295
297
public static final String KEY_SUPPORTS_OAUTH2 = "oc_supports_oauth2" ;
296
298
297
299
public static final String OAUTH_SUPPORTED_TRUE = "TRUE" ;
@@ -316,22 +318,6 @@ public static class Constants {
316
318
*/
317
319
public static final String KEY_DISPLAY_NAME = "oc_display_name" ;
318
320
319
- /**
320
- * OAuth2 user id
321
- **/
322
- public static final String KEY_USER_ID = "user_id" ;
323
-
324
- /**
325
- * OAuth2 refresh token
326
- **/
327
- public static final String KEY_OAUTH2_REFRESH_TOKEN = "oc_oauth2_refresh_token" ;
328
-
329
- /**
330
- * OAuth2 scope
331
- */
332
- public static final String KEY_OAUTH2_SCOPE = "oc_oauth2_scope" ;
333
- public static final String OAUTH2_OIDC_SCOPE = "openid offline_access email profile" ;
334
-
335
321
public static final int ACCOUNT_VERSION = 1 ;
336
322
}
337
323
}
You can’t perform that action at this time.
0 commit comments