mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 10:27:45 +00:00 
			
		
		
		
	Use the same ownCloudClient across the whole login process
This commit is contained in:
		
							parent
							
								
									2a23a1c773
								
							
						
					
					
						commit
						1194b9a412
					
				| @ -43,10 +43,4 @@ class OCServerInfoService : ServerInfoService { | |||||||
|         client: OwnCloudClient |         client: OwnCloudClient | ||||||
|     ): RemoteOperationResult<OwnCloudVersion> = |     ): RemoteOperationResult<OwnCloudVersion> = | ||||||
|         GetRemoteStatusOperation().execute(client) |         GetRemoteStatusOperation().execute(client) | ||||||
| 
 |  | ||||||
|     private fun createClientFromPath(path: String): OwnCloudClient { |  | ||||||
|         val client = OwnCloudClient(Uri.parse(path)).apply { credentials = getAnonymousCredentials() } |  | ||||||
|         OwnCloudClientFactory.retriveCookisFromMiddleware(client) |  | ||||||
|         return client |  | ||||||
|     } |  | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user