You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2016/07/11 22:27:11 UTC

[jira] [Resolved] (CB-10680) Expose isFirstAttempt API in ICordovaHttpAuthHandler

     [ https://issues.apache.org/jira/browse/CB-10680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-10680.
-----------------------------
    Resolution: Incomplete

OK, we need to know how to test this.  Don't leave us hanging!  Re-open when you have more info.

> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org