mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-22 22:03:00 +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")));
|
mRedirectedLocation.toLowerCase().contains("wayf")));
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isBasicAuthentication() {
|
public String getAuthenticateHeader() {
|
||||||
return (mAuthenticate != null &&
|
return mAuthenticate;
|
||||||
(mAuthenticate.toUpperCase().startsWith("BASIC")));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user