mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-25 15:09:47 +00:00
Replace method infering basic authorization for other returning the 'authenticate' header value; let's analyze the header in other class
This commit is contained in:
@@ -365,9 +365,8 @@ public class RemoteOperationResult implements Serializable {
|
||||
mRedirectedLocation.toLowerCase().contains("wayf")));
|
||||
}
|
||||
|
||||
public boolean isBasicAuthentication() {
|
||||
return (mAuthenticate != null &&
|
||||
(mAuthenticate.toUpperCase().startsWith("BASIC")));
|
||||
public String getAuthenticateHeader() {
|
||||
return mAuthenticate;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user