You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/16 19:06:33 UTC

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

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