Interface NSURLAuthenticationChallengeSender


  • public interface NSURLAuthenticationChallengeSender
    [@protocol] NSURLAuthenticationChallengeSender This protocol represents the sender of an authentication challenge. It has methods to provide a credential, to continue without any credential, getting whatever failure result would happen in that case, cancel a challenge, perform the default action as defined by the system, or reject the currently supplied protection-space in the challenge. API-Since: 2.0
    • Method Detail

      • cancelAuthenticationChallenge

        void cancelAuthenticationChallenge​(@NotNull
                                           @NotNull NSURLAuthenticationChallenge challenge)
        cancelAuthenticationChallenge:
      • continueWithoutCredentialForAuthenticationChallenge

        void continueWithoutCredentialForAuthenticationChallenge​(@NotNull
                                                                 @NotNull NSURLAuthenticationChallenge challenge)
        continueWithoutCredentialForAuthenticationChallenge:
      • performDefaultHandlingForAuthenticationChallenge

        default void performDefaultHandlingForAuthenticationChallenge​(@NotNull
                                                                      @NotNull NSURLAuthenticationChallenge challenge)
        performDefaultHandlingForAuthenticationChallenge:
      • rejectProtectionSpaceAndContinueWithChallenge

        default void rejectProtectionSpaceAndContinueWithChallenge​(@NotNull
                                                                   @NotNull NSURLAuthenticationChallenge challenge)
        rejectProtectionSpaceAndContinueWithChallenge:
      • useCredentialForAuthenticationChallenge

        void useCredentialForAuthenticationChallenge​(@NotNull
                                                     @NotNull NSURLCredential credential,
                                                     @NotNull
                                                     @NotNull NSURLAuthenticationChallenge challenge)
        useCredential:forAuthenticationChallenge: