mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +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:
parent
ec2fcc0716
commit
4572ca29e8
@ -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")));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user