Package apple.foundation.protocol
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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidcancelAuthenticationChallenge(NSURLAuthenticationChallenge challenge)cancelAuthenticationChallenge:voidcontinueWithoutCredentialForAuthenticationChallenge(NSURLAuthenticationChallenge challenge)continueWithoutCredentialForAuthenticationChallenge:default voidperformDefaultHandlingForAuthenticationChallenge(NSURLAuthenticationChallenge challenge)performDefaultHandlingForAuthenticationChallenge:default voidrejectProtectionSpaceAndContinueWithChallenge(NSURLAuthenticationChallenge challenge)rejectProtectionSpaceAndContinueWithChallenge:voiduseCredentialForAuthenticationChallenge(NSURLCredential credential, NSURLAuthenticationChallenge challenge)useCredential:forAuthenticationChallenge:
-
-
-
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:
-
useCredentialForAuthenticationChallenge
void useCredentialForAuthenticationChallenge(NSURLCredential credential, NSURLAuthenticationChallenge challenge)
useCredential:forAuthenticationChallenge:
-
-