mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Move some OAuth constants out of the library
This commit is contained in:
		
							parent
							
								
									7b32f7bbe4
								
							
						
					
					
						commit
						d957d48279
					
				| @ -292,6 +292,8 @@ public class AccountUtils { | ||||
|         /** | ||||
|          * Flag signaling if the ownCloud server can be accessed with OAuth2 access tokens. | ||||
|          */ | ||||
| 
 | ||||
|         // TODO Please review this constants, move them out of the library, the rest of OAuth variables are in data layer | ||||
|         public static final String KEY_SUPPORTS_OAUTH2 = "oc_supports_oauth2"; | ||||
| 
 | ||||
|         public static final String OAUTH_SUPPORTED_TRUE = "TRUE"; | ||||
| @ -316,22 +318,6 @@ public class AccountUtils { | ||||
|          */ | ||||
|         public static final String KEY_DISPLAY_NAME = "oc_display_name"; | ||||
| 
 | ||||
|         /** | ||||
|          * OAuth2 user id | ||||
|          **/ | ||||
|         public static final String KEY_USER_ID = "user_id"; | ||||
| 
 | ||||
|         /** | ||||
|          * OAuth2 refresh token | ||||
|          **/ | ||||
|         public static final String KEY_OAUTH2_REFRESH_TOKEN = "oc_oauth2_refresh_token"; | ||||
| 
 | ||||
|         /** | ||||
|          * OAuth2 scope | ||||
|          */ | ||||
|         public static final String KEY_OAUTH2_SCOPE = "oc_oauth2_scope"; | ||||
|         public static final String OAUTH2_OIDC_SCOPE = "openid offline_access email profile"; | ||||
| 
 | ||||
|         public static final int ACCOUNT_VERSION = 1; | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user