mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Create OAuth scope param to save it in AccountManager during OAuth process
This commit is contained in:
		
							parent
							
								
									b7033e53bf
								
							
						
					
					
						commit
						261be8bf85
					
				
							
								
								
									
										3
									
								
								gradle.properties
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								gradle.properties
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | |||||||
|  | android.enableJetifier=true | ||||||
|  | android.useAndroidX=true | ||||||
|  | org.gradle.jvmargs=-Xmx1536M | ||||||
| @ -25,6 +25,8 @@ android { | |||||||
| 
 | 
 | ||||||
|         versionCode = 10000401 |         versionCode = 10000401 | ||||||
|         versionName = "1.0.4.1" |         versionName = "1.0.4.1" | ||||||
|  | 
 | ||||||
|  |         manifestPlaceholders = [appAuthRedirectScheme: 'oc'] | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     lintOptions { |     lintOptions { | ||||||
|  | |||||||
| @ -319,5 +319,10 @@ public class AccountUtils { | |||||||
|          * OAuth2 refresh token |          * OAuth2 refresh token | ||||||
|          **/ |          **/ | ||||||
|         public static final String KEY_OAUTH2_REFRESH_TOKEN = "oc_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"; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user