[
https://issues.apache.org/jira/browse/CB-10680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197827#comment-15197827
]
ASF GitHub Bot commented on CB-10680:
-------------------------------------
Github user infil00p commented on the pull request:
https://github.com/apache/cordova-android/pull/262#issuecomment-197461655
Can we get a test attached to this?
> Expose isFirstAttempt API in ICordovaHttpAuthHandler
> ----------------------------------------------------
>
> Key: CB-10680
> URL: https://issues.apache.org/jira/browse/CB-10680
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android
> Affects Versions: 5.1.0
> Reporter: Marcus Pridham
>
> The HttpAuthHandler has a method called useHttpAuthUsernamePassword that
> tells whether this is the first attempt at a basic authentication challenge.
> http://developer.android.com/reference/android/webkit/HttpAuthHandler.html#useHttpAuthUsernamePassword()
> The interface Cordova wraps around the HttpAuthHandler called
> ICordovaHttpAuthHandler currently does not expose the
> useHttpAuthUsernamePassword method. It would be nice if a first attempt
> method was added to the interface.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]