public interface 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.
| Modifier and Type | Method and Description |
|---|---|
void |
cancelAuthenticationChallenge(NSURLAuthenticationChallenge challenge)
cancelAuthenticationChallenge:
|
void |
continueWithoutCredentialForAuthenticationChallenge(NSURLAuthenticationChallenge challenge)
continueWithoutCredentialForAuthenticationChallenge:
|
default void |
performDefaultHandlingForAuthenticationChallenge(NSURLAuthenticationChallenge challenge)
performDefaultHandlingForAuthenticationChallenge:
|
default void |
rejectProtectionSpaceAndContinueWithChallenge(NSURLAuthenticationChallenge challenge)
rejectProtectionSpaceAndContinueWithChallenge:
|
void |
useCredentialForAuthenticationChallenge(NSURLCredential credential,
NSURLAuthenticationChallenge challenge)
useCredential:forAuthenticationChallenge:
|
void cancelAuthenticationChallenge(NSURLAuthenticationChallenge challenge)
void continueWithoutCredentialForAuthenticationChallenge(NSURLAuthenticationChallenge challenge)
default void performDefaultHandlingForAuthenticationChallenge(NSURLAuthenticationChallenge challenge)
default void rejectProtectionSpaceAndContinueWithChallenge(NSURLAuthenticationChallenge challenge)
void useCredentialForAuthenticationChallenge(NSURLCredential credential, NSURLAuthenticationChallenge challenge)