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.
    • Method Detail

      • cancelAuthenticationChallenge

        void cancelAuthenticationChallenge​(NSURLAuthenticationChallenge challenge)
        cancelAuthenticationChallenge:
      • continueWithoutCredentialForAuthenticationChallenge

        void continueWithoutCredentialForAuthenticationChallenge​(NSURLAuthenticationChallenge challenge)
        continueWithoutCredentialForAuthenticationChallenge:
      • performDefaultHandlingForAuthenticationChallenge

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

        default void rejectProtectionSpaceAndContinueWithChallenge​(NSURLAuthenticationChallenge challenge)
        rejectProtectionSpaceAndContinueWithChallenge: