mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-22 13:52:55 +00:00
Grant that requests done through the same OwnCloudClient using Basic HTTP Authentication keep cookies
This commit is contained in:
@@ -102,6 +102,7 @@ public class OwnCloudClient extends HttpClient {
|
|||||||
mCredentials = new UsernamePasswordCredentials(username, password);
|
mCredentials = new UsernamePasswordCredentials(username, password);
|
||||||
getState().setCredentials(AuthScope.ANY, mCredentials);
|
getState().setCredentials(AuthScope.ANY, mCredentials);
|
||||||
mSsoSessionCookie = null;
|
mSsoSessionCookie = null;
|
||||||
|
getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setSsoSessionCookie(String accessToken) {
|
public void setSsoSessionCookie(String accessToken) {
|
||||||
|
|||||||
Reference in New Issue
Block a user