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. API-Since: 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidcancelAuthenticationChallenge(@NotNull NSURLAuthenticationChallenge challenge)cancelAuthenticationChallenge:voidcontinueWithoutCredentialForAuthenticationChallenge(@NotNull NSURLAuthenticationChallenge challenge)continueWithoutCredentialForAuthenticationChallenge:default voidperformDefaultHandlingForAuthenticationChallenge(@NotNull NSURLAuthenticationChallenge challenge)performDefaultHandlingForAuthenticationChallenge:default voidrejectProtectionSpaceAndContinueWithChallenge(@NotNull NSURLAuthenticationChallenge challenge)rejectProtectionSpaceAndContinueWithChallenge:voiduseCredentialForAuthenticationChallenge(@NotNull NSURLCredential credential, @NotNull NSURLAuthenticationChallenge challenge)useCredential:forAuthenticationChallenge:
-
-
-
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:
-
-